[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

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


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