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