mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-24 10:09:47 +01:00
5bcf419601
git-svn-id: http://svn.automattic.com/wordpress/trunk@14549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
39 lines
963 B
PHP
39 lines
963 B
PHP
<?php
|
|
/**
|
|
* The template used to display Category Archive pages
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Twenty Ten
|
|
* @since 3.0.0
|
|
*/
|
|
?>
|
|
|
|
<?php get_header(); ?>
|
|
|
|
<div id="container">
|
|
<div id="content" role="main">
|
|
|
|
<h1 class="page-title"><?php
|
|
printf( __( 'Category Archives: %s', 'twentyten' ), '<span>' . single_cat_title( '', false ) . '</span>' );
|
|
?></h1>
|
|
<?php
|
|
$categorydesc = category_description();
|
|
if ( ! empty( $categorydesc ) ) {
|
|
echo apply_filters( 'archive_meta', '<div class="archive-meta">' . $categorydesc . '</div>' );
|
|
}
|
|
?>
|
|
|
|
<?php
|
|
/* 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(); ?>
|