| [ XREF Home ] [ Index ] |
PHP Cross Reference of WordPress TrunkProvided by Yoast |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * The template for displaying Category Archive pages. 4 * 5 * @package WordPress 6 * @subpackage Twenty_Eleven 7 * @since Twenty Eleven 1.0 8 */ 9 10 get_header(); ?> 11 12 <section id="primary"> 13 <div id="content" role="main"> 14 15 <header class="page-header"> 16 <h1 class="page-title"><?php 17 printf( __( 'Category Archives: %s', 'twentyeleven' ), '<span>' . single_cat_title( '', false ) . '</span>' ); 18 ?></h1> 19 20 <?php 21 $category_description = category_description(); 22 if ( ! empty( $category_description ) ) 23 echo apply_filters( 'category_archive_meta', '<div class="category-archive-meta">' . $category_description . '</div>' ); 24 ?> 25 </header> 26 27 <?php twentyeleven_content_nav( 'nav-above' ); ?> 28 29 <?php /* Start the Loop */ ?> 30 <?php while ( have_posts() ) : the_post(); ?> 31 32 <?php 33 /* Include the Post-Format-specific template for the content. 34 * If you want to overload this in a child theme then include a file 35 * called content-___.php (where ___ is the Post Format name) and that will be used instead. 36 */ 37 get_template_part( 'content', get_post_format() ); 38 ?> 39 40 <?php endwhile; ?> 41 42 <?php twentyeleven_content_nav( 'nav-below' ); ?> 43 44 </div><!-- #content --> 45 </section><!-- #primary --> 46 47 <?php get_sidebar(); ?> 48 <?php get_footer(); ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Jun 1 08:30:02 2011 |
Cross-referenced by PHPXref 0.7 Provided by Yoast and awesome WordPress Hosting |