CoreFiles by mySites.guru
search.php36 lines, 860 bytes, from wordpress-4.2.21.zip
Raw History Compare with 4.2.20
md5
c39c41ae64a1706ef9fde6c4bcb0092b
sha1
172c97fc36ebbd2e72e3146610930cf061b74618
sha256
fea69cec3ea983e083a142dccea2ac429439e90733d06e88829e56a9f7802c19
<?php
/**
 * The template for displaying Search Results pages
 *
 * @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">
				<h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'twentythirteen' ), get_search_query() ); ?></h1>
			</header>

			<?php /* The loop */ ?>
			<?php while ( have_posts() ) : the_post(); ?>
				<?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(); ?>
<?php get_footer(); ?>

The same content is in 323 releases, WordPress 3.7-beta1 to 4.3.35. See them all, or every version of this file.