Changeset 25213 for trunk/src/wp-content/themes/twentyfourteen/search.php
- Timestamp:
- 09/02/2013 09:20:56 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/search.php
r25088 r25213 9 9 get_header(); ?> 10 10 11 <section id="primary" class="content-area">12 <div id="content" class="site-content" role="main">11 <section id="primary" class="content-area"> 12 <div id="content" class="site-content" role="main"> 13 13 14 <?php if ( have_posts() ) : ?>14 <?php if ( have_posts() ) : ?> 15 15 16 <header class="page-header">17 <h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'twentyfourteen' ), get_search_query() ); ?></h1>18 </header><!-- .page-header -->16 <header class="page-header"> 17 <h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'twentyfourteen' ), get_search_query() ); ?></h1> 18 </header><!-- .page-header --> 19 19 20 <?php21 while ( have_posts() ) :22 the_post();20 <?php 21 while ( have_posts() ) : 22 the_post(); 23 23 24 get_template_part( 'content', get_post_format() );25 endwhile;26 twentyfourteen_paging_nav();24 get_template_part( 'content', get_post_format() ); 25 endwhile; 26 twentyfourteen_paging_nav(); 27 27 28 else :29 get_template_part( 'no-results', 'search' );28 else : 29 get_template_part( 'content', 'none' ); 30 30 31 endif;32 ?>31 endif; 32 ?> 33 33 34 </div><!-- #content -->35 </section><!-- #primary -->34 </div><!-- #content --> 35 </section><!-- #primary --> 36 36 37 37 <?php
Note: See TracChangeset
for help on using the changeset viewer.