Updated archive.php

This commit is contained in:
Kenneth John Odle 2021-08-01 13:52:14 -04:00
parent fe5250d8ce
commit 256051ca8f

View File

@ -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>