2013-02-18 18:08:56 -05:00
|
|
|
<?php
|
|
|
|
/**
|
2013-09-20 15:34:10 -04:00
|
|
|
* The template for displaying Search Results pages
|
2013-02-18 18:08:56 -05:00
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Twenty_Thirteen
|
|
|
|
* @since Twenty Thirteen 1.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
get_header(); ?>
|
|
|
|
|
|
|
|
<div id="primary" class="content-area">
|
|
|
|
<div id="content" class="site-content" role="main">
|
|
|
|
|
|
|
|
<?php if ( have_posts() ) : ?>
|
|
|
|
|
|
|
|
<header class="page-header">
|
2019-07-08 21:10:00 -04:00
|
|
|
<h1 class="page-title">
|
|
|
|
<?php
|
2019-09-02 20:41:05 -04:00
|
|
|
/* translators: %s: Search query. */
|
2019-07-08 21:10:00 -04:00
|
|
|
printf( __( 'Search Results for: %s', 'twentythirteen' ), get_search_query() );
|
|
|
|
?>
|
|
|
|
</h1>
|
2013-02-18 18:08:56 -05:00
|
|
|
</header>
|
|
|
|
|
2017-11-30 18:11:00 -05:00
|
|
|
<?php
|
2020-01-28 19:45:18 -05:00
|
|
|
// Start the loop.
|
2017-11-30 18:11:00 -05:00
|
|
|
while ( have_posts() ) :
|
|
|
|
the_post();
|
2018-08-16 21:51:36 -04:00
|
|
|
?>
|
2013-02-18 18:08:56 -05:00
|
|
|
<?php get_template_part( 'content', get_post_format() ); ?>
|
|
|
|
<?php endwhile; ?>
|
|
|
|
|
|
|
|
<?php twentythirteen_paging_nav(); ?>
|
|
|
|
|
|
|
|
<?php else : ?>
|
|
|
|
<?php get_template_part( 'content', 'none' ); ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
|
|
</div><!-- #content -->
|
|
|
|
</div><!-- #primary -->
|
|
|
|
|
|
|
|
<?php get_sidebar(); ?>
|
2017-11-30 18:11:00 -05:00
|
|
|
<?php get_footer(); ?>
|