Check if comment paging is on. Props iandstewart. fixes #13739
git-svn-id: https://develop.svn.wordpress.org/trunk@15145 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
92fe0bb5b6
commit
c92dba8fdf
@ -36,7 +36,7 @@
|
||||
number_format_i18n( get_comments_number() ), '<em>' . get_the_title() . '</em>' );
|
||||
?></h3>
|
||||
|
||||
<?php if ( get_comment_pages_count() > 1 ) : // Are there comments to navigate through? ?>
|
||||
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
|
||||
<div class="navigation">
|
||||
<div class="nav-previous"><?php previous_comments_link( __( '<span class="meta-nav">←</span> Older Comments', 'twentyten' ) ); ?></div>
|
||||
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments <span class="meta-nav">→</span>', 'twentyten' ) ); ?></div>
|
||||
@ -55,7 +55,7 @@
|
||||
?>
|
||||
</ol>
|
||||
|
||||
<?php if ( get_comment_pages_count() > 1 ) : // Are there comments to navigate through? ?>
|
||||
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
|
||||
<div class="navigation">
|
||||
<div class="nav-previous"><?php previous_comments_link( __( '<span class="meta-nav">←</span> Older Comments', 'twentyten' ) ); ?></div>
|
||||
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments <span class="meta-nav">→</span>', 'twentyten' ) ); ?></div>
|
||||
|
Loading…
Reference in New Issue
Block a user