3 * The template for displaying Search Results pages
6 * @subpackage Twenty_Fourteen
7 * @since Twenty Fourteen 1.0
12 <section id="primary" class="content-area">
13 <div id="content" class="site-content" role="main">
15 <?php if ( have_posts() ) : ?>
17 <header class="page-header">
18 <h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'twentyfourteen' ), get_search_query() ); ?></h1>
19 </header><!-- .page-header -->
23 while ( have_posts() ) : the_post();
26 * 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 * (where ___ is the post format) and that will be used instead.
30 get_template_part( 'content', get_post_format() );
33 // Previous/next post navigation.
34 twentyfourteen_paging_nav();
37 // If no content, include the "No posts found" template.
38 get_template_part( 'content', 'none' );
43 </div><!-- #content -->
44 </section><!-- #primary -->
47 get_sidebar( 'content' );