wp/wp-content/themes/twentyfourteen/search.php
changeset 7 cf61fcea0001
parent 5 5e2f62d02dcd
equal deleted inserted replaced
6:490d5cc509ed 7:cf61fcea0001
    18 				<h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'twentyfourteen' ), get_search_query() ); ?></h1>
    18 				<h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'twentyfourteen' ), get_search_query() ); ?></h1>
    19 			</header><!-- .page-header -->
    19 			</header><!-- .page-header -->
    20 
    20 
    21 				<?php
    21 				<?php
    22 					// Start the Loop.
    22 					// Start the Loop.
    23 					while ( have_posts() ) : the_post();
    23 				while ( have_posts() ) :
       
    24 					the_post();
    24 
    25 
    25 						/*
    26 					/*
    26 						 * Include the post format-specific template for the content. If you want to
    27 					 * Include the post format-specific template for the content. If you want to
    27 						 * use this in a child theme, then include a file called called content-___.php
    28 					 * use this in a child theme, then include a file called content-___.php
    28 						 * (where ___ is the post format) and that will be used instead.
    29 					 * (where ___ is the post format) and that will be used instead.
    29 						 */
    30 					 */
    30 						get_template_part( 'content', get_post_format() );
    31 					get_template_part( 'content', get_post_format() );
    31 
    32 
    32 					endwhile;
    33 					endwhile;
    33 					// Previous/next post navigation.
    34 					// Previous/next post navigation.
    34 					twentyfourteen_paging_nav();
    35 					twentyfourteen_paging_nav();
    35 
    36