[ Index ] |
WordPress Cross Reference |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * The template for displaying Category pages 4 * 5 * @link http://codex.wordpress.org/Template_Hierarchy 6 * 7 * @package WordPress 8 * @subpackage Twenty_Thirteen 9 * @since Twenty Thirteen 1.0 10 */ 11 12 get_header(); ?> 13 14 <div id="primary" class="content-area"> 15 <div id="content" class="site-content" role="main"> 16 17 <?php if ( have_posts() ) : ?> 18 <header class="archive-header"> 19 <h1 class="archive-title"><?php printf( __( 'Category Archives: %s', 'twentythirteen' ), single_cat_title( '', false ) ); ?></h1> 20 21 <?php if ( category_description() ) : // Show an optional category description ?> 22 <div class="archive-meta"><?php echo category_description(); ?></div> 23 <?php endif; ?> 24 </header><!-- .archive-header --> 25 26 <?php /* The loop */ ?> 27 <?php while ( have_posts() ) : the_post(); ?> 28 <?php get_template_part( 'content', get_post_format() ); ?> 29 <?php endwhile; ?> 30 31 <?php twentythirteen_paging_nav(); ?> 32 33 <?php else : ?> 34 <?php get_template_part( 'content', 'none' ); ?> 35 <?php endif; ?> 36 37 </div><!-- #content --> 38 </div><!-- #primary --> 39 40 <?php get_sidebar(); ?> 41 <?php get_footer(); ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Tue Mar 25 01:41:18 2014 | WordPress honlapkészítés: online1.hu |