File: /home/mmickelson/martyknows.com/wp-content/themes/chunk/comments.php
<?php
/**
* @package Chunk
*/
if ( post_password_required() )
return;
?>
<div id="comments">
<?php if ( have_comments() ) : ?>
<h2 id="comments-title">
<?php
printf( _n( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'chunk' ),
number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' );
?>
</h2>
<ol class="commentlist">
<?php wp_list_comments(); ?>
</ol>
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
<nav id="comment-nav-below" class="navigation">
<div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'chunk' ) ); ?></div>
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'chunk' ) ); ?></div>
</nav>
<?php endif; // check for comment navigation ?>
<?php endif; // have_comments() ?>
<?php
// If comments are closed and there are comments, let's leave a little note, shall we?
if ( ! comments_open() && '0' != get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) :
?>
<p class="nocomments"><?php _e( 'Comments are closed.', 'chunk' ); ?></p>
<?php endif; ?>
<?php comment_form(); ?>
</div><!-- #comments -->