tag.php 739 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * The template used to display Tag Archive pages
  4. *
  5. * @package WordPress
  6. * @subpackage Twenty Ten
  7. * @since 3.0.0
  8. */
  9. ?>
  10. <?php get_header(); ?>
  11. <div id="container">
  12. <div id="content">
  13. <?php the_post(); ?>
  14. <h1 class="page-title"><?php
  15. printf( __( 'Tag Archives: %s', 'twentyten' ), '<span>' . single_tag_title( '', false ) . '</span>' );
  16. ?></h1>
  17. <?php rewind_posts(); ?>
  18. <?php
  19. /* Run the loop for the tag archive to output the posts
  20. * If you want to overload this in a child theme then include a file
  21. * called loop-tag.php and that will be used instead.
  22. */
  23. get_template_part( 'loop', 'tag' );
  24. ?>
  25. </div><!-- #content -->
  26. </div><!-- #container -->
  27. <?php get_sidebar(); ?>
  28. <?php get_footer(); ?>