Use new core navigation template tag
This commit is contained in:
@@ -11,11 +11,4 @@
|
||||
<?php get_template_part('templates/content', get_post_format()); ?>
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php if ($wp_query->max_num_pages > 1) : ?>
|
||||
<nav class="post-nav">
|
||||
<ul class="pager">
|
||||
<li class="previous"><?php next_posts_link(__('← Older posts', 'sage')); ?></li>
|
||||
<li class="next"><?php previous_posts_link(__('Newer posts →', 'sage')); ?></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<?php endif; ?>
|
||||
<?php the_posts_navigation(); ?>
|
||||
|
||||
Reference in New Issue
Block a user