Ticket #13739: comments-nav.diff
File comments-nav.diff, 1.3 KB (added by , 15 years ago) |
---|
-
comments.php
36 36 number_format_i18n( get_comments_number() ), '<em>' . get_the_title() . '</em>' ); 37 37 ?></h3> 38 38 39 <?php if ( get_comment_pages_count() > 1 ) : // Are there comments to navigate through? ?>39 <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?> 40 40 <div class="navigation"> 41 41 <div class="nav-previous"><?php previous_comments_link( __( '<span class="meta-nav">←</span> Older Comments', 'twentyten' ) ); ?></div> 42 42 <div class="nav-next"><?php next_comments_link( __( 'Newer Comments <span class="meta-nav">→</span>', 'twentyten' ) ); ?></div> … … 55 55 ?> 56 56 </ol> 57 57 58 <?php if ( get_comment_pages_count() > 1 ) : // Are there comments to navigate through? ?>58 <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?> 59 59 <div class="navigation"> 60 60 <div class="nav-previous"><?php previous_comments_link( __( '<span class="meta-nav">←</span> Older Comments', 'twentyten' ) ); ?></div> 61 61 <div class="nav-next"><?php next_comments_link( __( 'Newer Comments <span class="meta-nav">→</span>', 'twentyten' ) ); ?></div>