Changeset 42343 for trunk/src/wp-content/themes/twentyeleven/category.php
- Timestamp:
- 11/30/2017 11:09:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyeleven/category.php
r25746 r42343 16 16 17 17 <header class="page-header"> 18 <h1 class="page-title"><?php 18 <h1 class="page-title"> 19 <?php 19 20 printf( __( 'Category Archives: %s', 'twentyeleven' ), '<span>' . single_cat_title( '', false ) . '</span>' ); 20 ?></h1> 21 ?> 22 </h1> 21 23 22 24 <?php 23 25 $category_description = category_description(); 24 25 26 27 28 29 30 31 32 33 26 if ( ! empty( $category_description ) ) { 27 /** 28 * Filter the default Twenty Eleven category description. 29 * 30 * @since Twenty Eleven 1.0 31 * 32 * @param string The default category description HTML. 33 */ 34 echo apply_filters( 'category_archive_meta', '<div class="category-archive-meta">' . $category_description . '</div>' ); 35 } 34 36 ?> 35 37 </header> … … 38 40 39 41 <?php /* Start the Loop */ ?> 40 <?php while ( have_posts() ) : the_post(); ?> 42 <?php 43 while ( have_posts() ) : 44 the_post(); 45 ?> 41 46 42 47 <?php
Note: See TracChangeset
for help on using the changeset viewer.