[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * 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              /*
  17               * Run the loop to output the attachment.
  18               * If you want to overload this in a child theme then include a file
  19               * called loop-attachment.php and that will be used instead.
  20               */
  21              get_template_part( 'loop', 'attachment' );
  22              ?>
  23  
  24              </div><!-- #content -->
  25          </div><!-- #container -->
  26  
  27  <?php get_footer(); ?>


Generated: Fri Mar 29 01:00:02 2024 Cross-referenced by PHPXref 0.7.1