File: /home/mmickelson/martyknows.com/wp-content/themes/parament/comments.php
<?php
/**
* @package Parament
*/
if ( post_password_required() )
return;
?>
<div id="comments">
<?php if ( have_comments() ) : ?>
<h2 id="comments-title"><?php
printf( _n( 'One comment on “%2$s”', '%1$s comments on “%2$s”', get_comments_number(), 'parament' ), number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' );
?></h2>
<ol class="commentlist">
<?php wp_list_comments( array( 'callback' => 'parament_comment' ) ); ?>
</ol>
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
<nav id="comment-nav-below" class="paged-navigation contain">
<h1 class="assistive-text"><?php _e( 'Comment navigation', 'parament' ); ?></h1>
<div class="nav-older"><?php previous_comments_link( __( '← Older Comments', 'parament' ) ); ?></div>
<div class="nav-newer"><?php next_comments_link( __( 'Newer Comments →', 'parament' ) ); ?></div>
</nav>
<?php endif; // check for comment navigation ?>
<?php endif; ?>
<?php if ( comments_open() ) : ?>
<?php comment_form(); ?>
<?php elseif ( have_comments() ) : ?>
<p class="comments-closed"><?php _e( 'Comments are closed.', 'parament' ); ?></p>
<?php endif; ?>
</div><!-- #comments -->