3 * The template for displaying Tag pages.
5 * Used to display archive-type pages for posts in a tag.
7 * Learn more: http://codex.wordpress.org/Template_Hierarchy
10 * @subpackage Twenty_Thirteen
11 * @since Twenty Thirteen 1.0
16 <div id="primary" class="content-area">
17 <div id="content" class="site-content" role="main">
19 <?php if ( have_posts() ) : ?>
20 <header class="archive-header">
21 <h1 class="archive-title"><?php printf( __( 'Tag Archives: %s', 'twentythirteen' ), single_tag_title( '', false ) ); ?></h1>
23 <?php if ( tag_description() ) : // Show an optional tag description ?>
24 <div class="archive-meta"><?php echo tag_description(); ?></div>
26 </header><!-- .archive-header -->
28 <?php /* The loop */ ?>
29 <?php while ( have_posts() ) : the_post(); ?>
30 <?php get_template_part( 'content', get_post_format() ); ?>
33 <?php twentythirteen_paging_nav(); ?>
36 <?php get_template_part( 'content', 'none' ); ?>
39 </div><!-- #content -->
40 </div><!-- #primary -->
42 <?php get_sidebar(); ?>
43 <?php get_footer(); ?>