[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * The template for displaying Search Results pages 4 * 5 * @package WordPress 6 * @subpackage Twenty_Thirteen 7 * @since Twenty Thirteen 1.0 8 */ 9 10 get_header(); ?> 11 12 <div id="primary" class="content-area"> 13 <div id="content" class="site-content" role="main"> 14 15 <?php if ( have_posts() ) : ?> 16 17 <header class="page-header"> 18 <h1 class="page-title"> 19 <?php 20 /* translators: %s: Search query. */ 21 printf( __( 'Search Results for: %s', 'twentythirteen' ), get_search_query() ); 22 ?> 23 </h1> 24 </header> 25 26 <?php 27 // Start the loop. 28 while ( have_posts() ) : 29 the_post(); 30 ?> 31 <?php get_template_part( 'content', get_post_format() ); ?> 32 <?php endwhile; ?> 33 34 <?php twentythirteen_paging_nav(); ?> 35 36 <?php else : ?> 37 <?php get_template_part( 'content', 'none' ); ?> 38 <?php endif; ?> 39 40 </div><!-- #content --> 41 </div><!-- #primary --> 42 43 <?php get_sidebar(); ?> 44 <?php get_footer(); ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Thu Nov 21 08:20:01 2024 | Cross-referenced by PHPXref |