20 <h1 class="archive-title"><?php printf( __( 'Category Archives: %s', 'twentyfourteen' ), single_cat_title( '', false ) ); ?></h1> |
20 <h1 class="archive-title"><?php printf( __( 'Category Archives: %s', 'twentyfourteen' ), single_cat_title( '', false ) ); ?></h1> |
21 |
21 |
22 <?php |
22 <?php |
23 // Show an optional term description. |
23 // Show an optional term description. |
24 $term_description = term_description(); |
24 $term_description = term_description(); |
25 if ( ! empty( $term_description ) ) : |
25 if ( ! empty( $term_description ) ) : |
26 printf( '<div class="taxonomy-description">%s</div>', $term_description ); |
26 printf( '<div class="taxonomy-description">%s</div>', $term_description ); |
27 endif; |
27 endif; |
28 ?> |
28 ?> |
29 </header><!-- .archive-header --> |
29 </header><!-- .archive-header --> |
30 |
30 |
31 <?php |
31 <?php |
32 // Start the Loop. |
32 // Start the Loop. |
33 while ( have_posts() ) : the_post(); |
33 while ( have_posts() ) : |
|
34 the_post(); |
34 |
35 |
35 /* |
36 /* |
36 * Include the post format-specific template for the content. If you want to |
37 * Include the post format-specific template for the content. If you want to |
37 * use this in a child theme, then include a file called called content-___.php |
38 * use this in a child theme, then include a file called content-___.php |
38 * (where ___ is the post format) and that will be used instead. |
39 * (where ___ is the post format) and that will be used instead. |
39 */ |
40 */ |
40 get_template_part( 'content', get_post_format() ); |
41 get_template_part( 'content', get_post_format() ); |
41 |
42 |
42 endwhile; |
43 endwhile; |
43 // Previous/next page navigation. |
44 // Previous/next page navigation. |
44 twentyfourteen_paging_nav(); |
45 twentyfourteen_paging_nav(); |
45 |
46 |