biofriction-wp-theme/template-parts/navigation-prevnext.php

8 lines
365 B
PHP
Raw Normal View History

2021-02-18 15:27:46 +01:00
<?php
// Display navigation to next previous pages when applicable
?>
<nav id="post-nav" class="post-nav">
<div class="post-previous button"><?php next_posts_link( __( '&larr; Older posts', 'foundationpress' ) ); ?></div>
<div class="post-next button"><?php previous_posts_link( __( 'Newer posts &rarr;', 'foundationpress' ) ); ?></div>
</nav>