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_Ten
- * @since Twenty Ten 1.0
- */
- get_header(); ?>
- <div id="container">
- <div id="content" role="main">
- <h1 class="page-title <?php
- if (is_category_tree(3)):
- echo 'edition';
- if (is_category_tree(4)) :
- echo 'autopublication';
- ?>">
- <? echo single_cat_title( '', false ) ; ?></h1>
- <?php
- $category_description = category_description();
- if ( ! empty( $category_description ) )
- echo '<div class="archive-meta">' . $category_description . '</div>';
- /* Run the loop for the category page to output the posts.
- * If you want to overload this in a child theme then include a file
- * called loop-category.php and that will be used instead.
- */
- get_template_part( 'loop', 'category' );
- ?>
- </div><!-- #content -->
- </div><!-- #container -->
- <?php get_sidebar(); ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement