Created
September 24, 2014 15:47
-
-
Save anonymous/6a33026f2dfaf23fa048 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* The template for displaying Search Results pages | |
* | |
* @package WordPress | |
* @subpackage Twenty_Twelve | |
* @since Twenty Twelve 1.0 | |
*/ | |
get_header(); | |
$search_keyword = get_search_query(); | |
?> | |
<div id="bod" class="prods"> | |
<div id="west"> | |
<?php if ( have_posts() ) : ?> | |
<!--header class="page-header"> | |
<h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'twentytwelve' ), '<span>' . get_search_query() . '</span>' ); ?></h1> | |
</header--> | |
<h1>SDS | <?php printf( __( 'Search Results for: %s', 'twentytwelve' ), '<span>' . $search_keyword . '</span>' ); ?></h1> | |
<hr class="red"> | |
<?php //twentytwelve_content_nav( 'nav-above' ); ?> | |
<?php /* Start the Loop */ ?> | |
<?php while ( have_posts() ) : the_post(); ?> | |
<?php get_template_part( 'content-search', get_post_format() ); ?> | |
<?php endwhile; ?> | |
<?php //twentytwelve_content_nav( 'nav-below' ); ?> | |
<?php else : ?> | |
<article id="post-0" class="post no-results not-found"> | |
<!--header class="entry-header"> | |
<h1 class="entry-title"><?php _e( 'Nothing Found', 'twentytwelve' ); ?></h1> | |
</header--> | |
<h1>SDS | <?php _e( 'Nothing Found', 'twentytwelve' ); ?></h1> | |
<hr class="red"> | |
<div class="entry-content"> | |
<p><?php _e( 'Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'twentytwelve' ); ?></p> | |
<?php get_search_form(); ?> | |
</div><!-- .entry-content --> | |
</article><!-- #post-0 --> | |
<?php endif; ?> | |
</div> | |
</div><!-- #content --> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment