Changeset 45609 for trunk/src/wp-content/themes/twentyten/archive.php
- Timestamp:
- 07/09/2019 01:08:47 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyten/archive.php
r44496 r45609 32 32 33 33 <h1 class="page-title"> 34 <?php if ( is_day() ) : ?> 35 <?php printf( __( 'Daily Archives: <span>%s</span>', 'twentyten' ), get_the_date() ); ?> 36 <?php elseif ( is_month() ) : ?> 37 <?php printf( __( 'Monthly Archives: <span>%s</span>', 'twentyten' ), get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyten' ) ) ); ?> 38 <?php elseif ( is_year() ) : ?> 39 <?php printf( __( 'Yearly Archives: <span>%s</span>', 'twentyten' ), get_the_date( _x( 'Y', 'yearly archives date format', 'twentyten' ) ) ); ?> 40 <?php else : ?> 41 <?php _e( 'Blog Archives', 'twentyten' ); ?> 42 <?php endif; ?> 34 <?php 35 if ( is_day() ) { 36 /* translators: %s: date */ 37 printf( __( 'Daily Archives: <span>%s</span>', 'twentyten' ), get_the_date() ); 38 } elseif ( is_month() ) { 39 /* translators: %s: date */ 40 printf( __( 'Monthly Archives: <span>%s</span>', 'twentyten' ), get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyten' ) ) ); 41 } elseif ( is_year() ) { 42 /* translators: %s: date */ 43 printf( __( 'Yearly Archives: <span>%s</span>', 'twentyten' ), get_the_date( _x( 'Y', 'yearly archives date format', 'twentyten' ) ) ); 44 } else { 45 _e( 'Blog Archives', 'twentyten' ); 46 } 47 ?> 43 48 </h1> 44 49
Note: See TracChangeset
for help on using the changeset viewer.