Changeset 42343 for trunk/src/wp-content/themes/twentysixteen/archive.php
- Timestamp:
- 11/30/2017 11:09:33 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentysixteen/archive.php
r40851 r42343 33 33 <?php 34 34 // Start the Loop. 35 while ( have_posts() ) : the_post(); 35 while ( have_posts() ) : 36 the_post(); 36 37 37 38 /* … … 42 43 get_template_part( 'template-parts/content', get_post_format() ); 43 44 44 // End the loop.45 // End the loop. 45 46 endwhile; 46 47 47 48 // Previous/next page navigation. 48 the_posts_pagination( array( 49 'prev_text' => __( 'Previous page', 'twentysixteen' ), 50 'next_text' => __( 'Next page', 'twentysixteen' ), 51 'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentysixteen' ) . ' </span>', 52 ) ); 49 the_posts_pagination( 50 array( 51 'prev_text' => __( 'Previous page', 'twentysixteen' ), 52 'next_text' => __( 'Next page', 'twentysixteen' ), 53 'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentysixteen' ) . ' </span>', 54 ) 55 ); 53 56 54 // If no content, include the "No posts found" template.57 // If no content, include the "No posts found" template. 55 58 else : 56 59 get_template_part( 'template-parts/content', 'none' );
Note: See TracChangeset
for help on using the changeset viewer.