Changeset 42343 for trunk/src/wp-content/themes/twentythirteen/archive.php
- Timestamp:
- 11/30/2017 11:09:33 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentythirteen/archive.php
r32116 r42343 25 25 <?php if ( have_posts() ) : ?> 26 26 <header class="archive-header"> 27 <h1 class="archive-title"><?php 28 if ( is_day() ) : 29 printf( __( 'Daily Archives: %s', 'twentythirteen' ), get_the_date() ); 27 <h1 class="archive-title"> 28 <?php 29 if ( is_day() ) : 30 printf( __( 'Daily Archives: %s', 'twentythirteen' ), get_the_date() ); 30 31 elseif ( is_month() ) : 31 32 printf( __( 'Monthly Archives: %s', 'twentythirteen' ), get_the_date( _x( 'F Y', 'monthly archives date format', 'twentythirteen' ) ) ); … … 35 36 _e( 'Archives', 'twentythirteen' ); 36 37 endif; 37 ?></h1> 38 ?> 39 </h1> 38 40 </header><!-- .archive-header --> 39 41 40 42 <?php /* The loop */ ?> 41 <?php while ( have_posts() ) : the_post(); ?> 43 <?php 44 while ( have_posts() ) : 45 the_post(); 46 ?> 42 47 <?php get_template_part( 'content', get_post_format() ); ?> 43 48 <?php endwhile; ?>
Note: See TracChangeset
for help on using the changeset viewer.