Permalink
Browse files

Use the_comments_navigation() for paginating comments.

  • Loading branch information...
gonzomir committed Oct 18, 2017
1 parent ff54529 commit 341467c51c1a8749333199fec698de7944effdf7
Showing with 2 additions and 2 deletions.
  1. +2 −2 comments.php
@@ -39,7 +39,7 @@
<nav id="comment-nav-above" class="navigation comment-navigation pagination" role="navigation">
<h2 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'grid-magazine' ); ?></h2>
<?php paginate_comments_links(); ?>
<?php the_comments_navigation(); ?>
</nav><!-- #comment-nav-above -->
<?php endif; // Check for comment navigation. ?>
@@ -58,7 +58,7 @@
<nav id="comment-nav-below" class="navigation comment-navigation pagination" role="navigation">
<h2 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'grid-magazine' ); ?></h2>
<?php paginate_comments_links(); ?>
<?php the_comments_navigation(); ?>
</nav><!-- #comment-nav-below -->
<?php

0 comments on commit 341467c

Please sign in to comment.