[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * The template for displaying Tag Archive pages.
   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                  <h1 class="page-title"><?php
  16                      printf( __( 'Tag Archives: %s', 'twentyten' ), '<span>' . single_tag_title( '', false ) . '</span>' );
  17                  ?></h1>
  18  
  19  <?php
  20  /* Run the loop for the tag archive to output the posts
  21   * If you want to overload this in a child theme then include a file
  22   * called loop-tag.php and that will be used instead.
  23   */
  24   get_template_part( 'loop', 'tag' );
  25  ?>
  26              </div><!-- #content -->
  27          </div><!-- #container -->
  28  
  29  <?php get_sidebar(); ?>
  30  <?php get_footer(); ?>


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