Created
February 13, 2014 10:46
-
-
Save ramzesimus/8973064 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1 class="page-title"> | |
<?php if ( is_day() ) : ?> | |
<?php printf( __( 'Daily Archives: <span>%s</span>', 'twentyten' ), get_the_date() ); ?> | |
<?php elseif ( is_month() ) : ?> | |
<?php printf( __( 'Monthly Archives: <span>%s</span>', 'twentyten' ), get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyten' ) ) ); ?> | |
<?php elseif ( is_year() ) : ?> | |
<?php printf( __( 'Yearly Archives: <span>%s</span>', 'twentyten' ), get_the_date( _x( 'Y', 'yearly archives date format', 'twentyten' ) ) ); ?> | |
<?php else : ?> | |
<?php _e( 'Blog Archives', 'twentyten' ); ?> | |
<?php endif; ?> | |
</h1> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment