CoreFiles by mySites.guru
search.php36 lines, 861 bytes, from wordpress-3.6.zip
Raw History Compare with 3.5.2
md5
70e958988b6d83c17dbb0670a19d6b5c
sha1
ecb41e92a4dbc57d4217cb24e96180747b22e8de
sha256
c0e2f465de6d4e360fb16b52682b40d0148741e78099133fd612c64354a7f087
<?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 8 releases, WordPress 3.6-beta1 to 3.6.1. See them all, or every version of this file.