3 * The template for displaying Search Results pages.
6 * @subpackage Twenty_Ten
7 * @since Twenty Ten 1.0
13 <div id="content" role="main">
15 <?php if ( have_posts() ) : ?>
16 <h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'twentyten' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
18 /* Run the loop for the search to output the results.
19 * If you want to overload this in a child theme then include a file
20 * called loop-search.php and that will be used instead.
22 get_template_part( 'loop', 'search' );
25 <div id="post-0" class="post no-results not-found">
26 <h2 class="entry-title"><?php _e( 'Nothing Found', 'twentyten' ); ?></h2>
27 <div class="entry-content">
28 <p><?php _e( 'Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'twentyten' ); ?></p>
29 <?php get_search_form(); ?>
30 </div><!-- .entry-content -->
31 </div><!-- #post-0 -->
33 </div><!-- #content -->
34 </div><!-- #container -->
36 <?php get_sidebar(); ?>
37 <?php get_footer(); ?>