File: /home/mmickelson/martyknows.com/wp-content/themes/triton-lite/comments.php
<?php
if ( post_password_required() ) { ?>
<p class="nocomments"><?php _e('This post is password protected. Enter the password to view comments.', 'triton'); ?></p>
<?php
return;
}
?>
<!-- You can start editing here. -->
<?php if ( have_comments() ) : ?>
<?php if ( ! empty($comments_by_type['comment']) ) : ?>
<h3 id="comments"><?php comments_number(__( 'No Responses', 'triton'), __('One Response', 'triton'), __('% Responses', 'triton'));?> to “<?php the_title(); ?>”</h3>
<ul class="commentlist">
<?php wp_list_comments('type=comment&callback=trt_comment');?>
</ul>
<div class="navigation">
<?php paginate_comments_links( array('prev_text' => '«', 'next_text' => '»')) ?>
</div>
<?php endif; ?>
<?php if ( ! empty($comments_by_type['pings']) ) : ?>
<h3 id="comments_ping"><?php _e('Trackbacks & Pings', 'triton'); ?></h3>
<ul class="commentlist" id="ping">
<?php wp_list_comments('type=pings&callback=trt_ping'); ?>
</ul>
<div class="navigation">
<?php paginate_comments_links( array('prev_text' => '«', 'next_text' => '»')) ?>
</div>
<?php endif; ?>
<?php else : // this is displayed if there are no comments so far ?>
<?php if ('open' == $post->comment_status) : ?>
<!-- If comments are open, but there are no comments. -->
<?php else : // comments are closed ?>
<!-- If comments are closed. -->
<p class="nocomments"><?php _e('Comments are closed.', 'triton'); ?></p>
<?php endif; ?>
<?php endif; ?>
<?php comment_form(); ?>