[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * The template for displaying all single posts
   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
  16              // Start the loop.
  17              while ( have_posts() ) :
  18                  the_post();
  19                  ?>
  20  
  21                  <?php get_template_part( 'content', get_post_format() ); ?>
  22                  <?php twentythirteen_post_nav(); ?>
  23                  <?php comments_template(); ?>
  24  
  25              <?php endwhile; ?>
  26  
  27          </div><!-- #content -->
  28      </div><!-- #primary -->
  29  
  30  <?php get_sidebar(); ?>
  31  <?php get_footer(); ?>


Generated: Thu Nov 21 01:00:03 2024 Cross-referenced by PHPXref 0.7.1