[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Template for displaying all single posts
   4   *
   5   * @package WordPress
   6   * @subpackage Twenty_Ten
   7   * @since Twenty Ten 1.0
   8   */
   9  
  10  get_header(); ?>
  11  
  12          <div id="container">
  13              <div id="content" role="main">
  14  
  15              <?php
  16              /*
  17               * Run the loop to output the post.
  18               * If you want to overload this in a child theme then include a file
  19               * called loop-single.php and that will be used instead.
  20               */
  21              get_template_part( 'loop', 'single' );
  22              ?>
  23  
  24              </div><!-- #content -->
  25          </div><!-- #container -->
  26  
  27  <?php get_sidebar(); ?>
  28  <?php get_footer(); ?>


Generated: Mon Oct 7 01:00:03 2024 Cross-referenced by PHPXref 0.7.1