inc/structure/post.php
/**
	 * Display navigation to next/previous set of posts when applicable.
	 */
Display navigation to next/previous set of posts when applicable.
Display navigation to next / previous set of posts when applicable .
function storefront_paging_nav() {
		if ( $GLOBALS['wp_query']->max_num_pages < 2 ) {
			return;
		}
		?>
		<nav class="navigation paging-navigation" role="navigation">
			<h1 class="screen-reader-text"><?php _e( 'Posts navigation', 'storefront' ); ?></h1>
			<div class="nav-links">
				<?php if ( get_next_posts_link() ) : ?>
				<div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'storefront' ) ); ?></div>
				<?php endif; ?>
				<?php if ( get_previous_posts_link() ) : ?>
				<div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'storefront' ) ); ?></div>
				<?php endif; ?>
			</div><!-- .nav-links -->
		</nav><!-- .navigation -->
		<?php
	}
function storefront_paging_nav ( ) { if ( $ GLOBALS [ 'wp_query' ] -> max_num_pages < 2 ) { return ; } ?> <nav class="navigation paging-navigation" role="navigation">
			<h1 class="screen-reader-text"> <?php _e ( 'Posts navigation' , 'storefront' ) ; ?> </h1>
			<div class="nav-links">

				 <?php if ( get_next_posts_link ( ) ) : ?> <div class="nav-previous"> <?php next_posts_link ( __ ( '<span class="meta-nav">&larr;</span> Older posts' , 'storefront' ) ) ; ?> </div>
				 <?php endif ; ?> <?php if ( get_previous_posts_link ( ) ) : ?> <div class="nav-next"> <?php previous_posts_link ( __ ( 'Newer posts <span class="meta-nav">&rarr;</span>' , 'storefront' ) ) ; ?> </div>
				 <?php endif ; ?> </div><!-- .nav-links -->
		</nav><!-- .navigation -->
		 <?php }
Display navigation to next/previous set of posts when applicable.
Display navigation to next / previous set of posts when applicable .
// Don't print empty markup if there's only one page.