Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * The template for displaying Category Archive pages.
- *
- * @package WordPress
- * @subpackage Twenty_Twelve
- * @since Twenty Twelve 1.0
- */
- get_header(); ?>
- <section id="primary" class="site-content">
- <div id="content" role="main">
- <?php if ( have_posts() ) : ?>
- <header class="archive-header">
- <h1 class="archive-title"><?php
- _e( 'Archives', 'twentytwelve' );
- ?></h1>
- </header><!-- .archive-header -->
- <?php
- /* Start the Loop */
- while ( have_posts() ) : the_post();
- /* Include the post format-specific template for the content. If you want to
- * this in a child theme then include a file called called content-___.php
- * (where ___ is the post format) and that will be used instead.
- */
- get_template_part( 'content', 'category' );
- endwhile;
- twentytwelve_content_nav( 'nav-below' );
- ?>
- <?php else : ?>
- <?php get_template_part( 'content', 'none' ); ?>
- <?php endif; ?>
- </div><!-- #content -->
- </section><!-- #primary -->
- <?php get_sidebar(); ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement