| [ Index ] |
PHP Cross Reference of WordPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * The template for displaying Category Archive pages. 4 * 5 * @package WordPress 6 * @subpackage Twenty_Ten 7 * @since Twenty Ten 1.0 8 */ 9 10 get_header(); ?> 11 12 <div id="container"> 13 <div id="content" role="main"> 14 15 <h1 class="page-title"><?php 16 printf( __( 'Category Archives: %s', 'twentyten' ), '<span>' . single_cat_title( '', false ) . '</span>' ); 17 ?></h1> 18 <?php 19 $category_description = category_description(); 20 if ( ! empty( $category_description ) ) 21 echo '<div class="archive-meta">' . $category_description . '</div>'; 22 23 /* Run the loop for the category page to output the posts. 24 * If you want to overload this in a child theme then include a file 25 * called loop-category.php and that will be used instead. 26 */ 27 get_template_part( 'loop', 'category' ); 28 ?> 29 30 </div><!-- #content --> 31 </div><!-- #container --> 32 33 <?php get_sidebar(); ?> 34 <?php get_footer(); ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Fri May 25 03:56:23 2012 | Hosted by follow the white rabbit. |