Changeset 42343 for trunk/src/wp-content/themes/twentysixteen/search.php
- Timestamp:
- 11/30/2017 11:09:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentysixteen/search.php
r40851 r42343 21 21 <?php 22 22 // Start the loop. 23 while ( have_posts() ) : the_post(); 23 while ( have_posts() ) : 24 the_post(); 24 25 25 26 /** … … 30 31 get_template_part( 'template-parts/content', 'search' ); 31 32 32 // End the loop.33 // End the loop. 33 34 endwhile; 34 35 35 36 // Previous/next page navigation. 36 the_posts_pagination( array( 37 'prev_text' => __( 'Previous page', 'twentysixteen' ), 38 'next_text' => __( 'Next page', 'twentysixteen' ), 39 'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentysixteen' ) . ' </span>', 40 ) ); 37 the_posts_pagination( 38 array( 39 'prev_text' => __( 'Previous page', 'twentysixteen' ), 40 'next_text' => __( 'Next page', 'twentysixteen' ), 41 'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentysixteen' ) . ' </span>', 42 ) 43 ); 41 44 42 // If no content, include the "No posts found" template.45 // If no content, include the "No posts found" template. 43 46 else : 44 47 get_template_part( 'template-parts/content', 'none' );
Note: See TracChangeset
for help on using the changeset viewer.