<?php // Display navigation to next previous pages when applicable if ( function_exists( 'foundationpress_pagination' ) ) : foundationpress_pagination(); elseif ( is_paged() ) : ?> <nav id="post-nav" class="post-nav button"> <div class="post-previous"><?php next_posts_link( __( '← Older posts', 'foundationpress' ) ); ?></div> <div class="post-next"><?php previous_posts_link( __( 'Newer posts →', 'foundationpress' ) ); ?></div> </nav> <?php endif; ?>