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