[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

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


Generated: Fri May 25 03:56:23 2012 Hosted by follow the white rabbit.