</h3> <div class="navigation"> <div class="alignleft"><?php previous_comments_link(); ?> </div> <div class="alignright"><?php next_comments_link(); ?> </div> </div> <ol class="commentlist"> <?php nxt_list_comments(); ?> </ol> <div class="navigation"> <div class="alignleft"><?php previous_comments_link(); ?> </div> <div class="alignright"><?php next_comments_link(); ?> </div> </div> <?php } else {
<?php } // check for comment navigation ?> <?php if (!empty($comments_by_type['pings'])) { ?> <div id="trackbacks"> <h3 id="trackbacks-title"><?php esc_html_e('Trackbacks/Pingbacks', 'Basic'); ?> </h3> <ol class="pinglist"> <?php nxt_list_comments('type=pings&callback=et_list_pings'); ?> </ol> </div> <?php } ?> <?php } else { // this is displayed if there are no comments so far ?> <div id="comment-section" class="nocomments"> <?php if ('open' == $post->comment_status) { ?>
?> <div id="comments"> <h3> <?php printf(_n('1 response to %2$s', '%1$s responses to %2$s', $num_comments, 'buddypress'), number_format_i18n($num_comments), '<em>' . get_the_title() . '</em>'); ?> </h3> <?php do_action('bp_before_blog_comment_list'); ?> <ol class="commentlist"> <?php nxt_list_comments(array('callback' => 'bp_dtheme_blog_comments', 'type' => 'comment')); ?> </ol><!-- .comment-list --> <?php do_action('bp_after_blog_comment_list'); ?> <?php if (get_option('page_comments')) { ?> <div class="comment-navigation paged-navigation"> <?php paginate_comments_links(); ?> </div>
// End IF Statement if (!empty($comments_by_type['pings'])) { ?> <h3 id="comments-title"><?php _e('Trackbacks/Pingbacks', infinity_text_domain); ?> </h3> <ol class="commentlist"> <?php /* Loop through and list the pings. Tell nxt_list_comments() * to use list_pings() to format the pings. * If you want to overload this in a child theme then you can * define list_pings() and that will be used instead. * See list_pings() in /includes/theme-comments.php for more. */ nxt_list_comments(array('callback' => 'list_pings', 'type' => 'pings')); ?> </ol> <?php } } // End have_comments() IF Statement } else { } // End IF Statement ?> </div><!--/#comments--> <?php //This is where the comment form is generated. comment_form();
?> <?php /* Show a list of comments if any have been left*/ ?> <?php if (have_comments()) { ?> <?php classblogging_show_comment_navigation(); ?> <ol class="comment-list"> <?php nxt_list_comments(array('avatar_size' => 54, 'reply_text' => _x('Reply', 'comment reply link', 'classblogging'))); ?> </ol> <?php classblogging_show_comment_navigation(); ?> <?php } ?> <?php /* Show the comments form if comments are open on the post */ ?> <?php
<div id="pagination" class="for-comments-top"> <span class="pages"><?php _e('Pages', 'huddle'); ?> </span> <?php echo paginate_comments_links(); ?> </div> <?php } ?> <ol class="commentlist"> <?php nxt_list_comments('callback=huddle_comments'); ?> </ol> <?php if (get_comment_pages_count() > 1 && get_option('page_comments')) { ?> <div id="pagination" class="for-comments-bottom"> <span class="pages"><?php _e('Pages', 'huddle'); ?> </span> <?php echo paginate_comments_links(); ?> </div>