Sha256: 6279d6da673f86f7a334bbda84d98ac6fdb9af78d31211c65ff700e8ba56eea8

Contents?: true

Size: 625 Bytes

Versions: 2

Compression:

Stored size: 625 Bytes

Contents

<?php
/**
 * The template for displaying Search Results pages.
 *
 * @category  Theme
 * @package   [foundation]
 * @author    [Your Name]
 * @copyright 2012 [Your Name]
 */

get_header();

if ( have_posts() ):
	?>
	<header class="page-header">
		<h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'foundation' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
	</header>
	<?php
	/* Start the Loop */
	while ( have_posts() ):
		the_post();

		get_template_part( 'content', get_post_format() );
	endwhile;

	do_action( 'pagination' );
else:
	get_template_part( 'content', 'none' );
endif;

get_footer();

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wordpress-starter-0.3 templates/foundation/search.php
wordpress-starter-0.2 templates/foundation/search.php