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