wp-content/themes/twentythirteen/functions.php:491Display navigation to next/previous set of posts when applicable.
function twentythirteen_paging_nav() { global $wp_query; // Don't print empty markup if there's only one page. if ( $wp_query->max_num_pages < 2 ) { return; } ?> <nav class="navigation paging-navigation"> <h1 class="screen-reader-text"> <?php /* translators: Hidden accessibility text. */ _e( 'Posts navigation', 'twentythirteen' ); ?> </h1> <div class="nav-links"> <?php if ( get_next_posts_link() ) : ?> <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">←</span> Older posts', 'twentythirteen' ) ); ?></div> <?php endif; ?> <?php if ( get_previous_posts_link() ) : ?> <div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">→</span>', 'twentythirteen' ) ); ?></div> <?php endif; ?> </div><!-- .nav-links --> </nav><!-- .navigation --> <?php }Introduced in Twenty Thirteen 1.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-content/themes/twentythirteen/functions.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.