3 * The template for displaying Category pages
5 * @link https://codex.wordpress.org/Template_Hierarchy
8 * @subpackage Twenty_Thirteen
9 * @since Twenty Thirteen 1.0
14 <div id="primary" class="content-area">
15 <div id="content" class="site-content" role="main">
17 <?php if ( have_posts() ) : ?>
18 <header class="archive-header">
19 <h1 class="archive-title"><?php printf( __( 'Category Archives: %s', 'twentythirteen' ), single_cat_title( '', false ) ); ?></h1>
21 <?php if ( category_description() ) : // Show an optional category description ?>
22 <div class="archive-meta"><?php echo category_description(); ?></div>
24 </header><!-- .archive-header -->
26 <?php /* The loop */ ?>
27 <?php while ( have_posts() ) : the_post(); ?>
28 <?php get_template_part( 'content', get_post_format() ); ?>
31 <?php twentythirteen_paging_nav(); ?>
34 <?php get_template_part( 'content', 'none' ); ?>
37 </div><!-- #content -->
38 </div><!-- #primary -->
40 <?php get_sidebar(); ?>
41 <?php get_footer(); ?>