Skip to content

Commit 2ed7539

Browse files
authored
Update comments.php
1 parent 2e134b4 commit 2ed7539

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

comments.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
<?php
2525
// check for multi-page comments
26-
if ( get_comment_pages_count() > 1 ) : ?>
26+
if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?>
2727
<nav class="navigation comment-navigation">
2828
<p class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'hovercraft' ); ?></p>
2929
<div class="nav-previous"><?php previous_comments_link( esc_html__( '&larr; Older Comments', 'hovercraft' ) ); ?></div>

0 commit comments

Comments
 (0)