[ Index ]

WordPress Cross Reference

title

Body

[close]

/wp-content/themes/twentythirteen/ -> search.php (source)

   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"><?php printf( __( 'Search Results for: %s', 'twentythirteen' ), get_search_query() ); ?></h1>
  19              </header>
  20  
  21              <?php /* The loop */ ?>
  22              <?php while ( have_posts() ) : the_post(); ?>
  23                  <?php get_template_part( 'content', get_post_format() ); ?>
  24              <?php endwhile; ?>
  25  
  26              <?php twentythirteen_paging_nav(); ?>
  27  
  28          <?php else : ?>
  29              <?php get_template_part( 'content', 'none' ); ?>
  30          <?php endif; ?>
  31  
  32          </div><!-- #content -->
  33      </div><!-- #primary -->
  34  
  35  <?php get_sidebar(); ?>
  36  <?php get_footer(); ?>


Generated: Tue Mar 25 01:41:18 2014 WordPress honlapkészítés: online1.hu