Browse Source

Updated archive.php

main
Kenneth John Odle 3 years ago
parent
commit
256051ca8f
  1. 12
      archive.php

12
archive.php

@ -5,7 +5,7 @@
* Displays generic archives.
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package Atticus Finch
* @package Portage
*/
get_header();
@ -16,15 +16,15 @@ get_header();
<div id="archive-title">
<?php if ( is_day() ) : ?>
<?php printf( __( 'Daily Archive for %s', 'atticus-finch' ), '<span>' . get_the_date() . '</span>' ); ?>
<?php printf( __( 'Daily Archive for %s', 'portage' ), '<span>' . get_the_date() . '</span>' ); ?>
<?php elseif ( is_month() ) : ?>
<?php printf( __( 'Monthly Archive for %s', 'atticus-finch' ),
<?php printf( __( 'Monthly Archive for %s', 'portage' ),
/* translators: F will be replaced with month, and Y will be replaced with year, so "F Y" in English would be replaced with something like "June 2008". */
'<span>' . get_the_date( __( 'F Y', 'atticus-finch' ) ) . '</span>' ); ?>
'<span>' . get_the_date( __( 'F Y', 'portage' ) ) . '</span>' ); ?>
<?php elseif ( is_year() ) : ?>
<?php printf(__( 'Yearly Archive for %s', 'atticus-finch' ), '<span>' . get_the_date( 'Y' ) . '</span>' ); ?>
<?php printf(__( 'Yearly Archive for %s', 'portage' ), '<span>' . get_the_date( 'Y' ) . '</span>' ); ?>
<?php else : ?>
<?php _e( 'Blog Archive', 'atticus-finch' ); ?>
<?php _e( 'Blog Archive', 'portage' ); ?>
<?php endif; ?>
</div>

Loading…
Cancel
Save