From c09c02081a1818efe3bbdb66c56a78c672b847bf Mon Sep 17 00:00:00 2001 From: Ian Stewart Date: Thu, 27 Jun 2013 15:15:58 -0500 Subject: [PATCH] Simplified archive titles The current archive titles are verbose and fusty. This commit simplifies them to the bare minimum needed (and wanted by actual users) for description, orientation, and navigation. --- archive.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/archive.php b/archive.php index 618be0f3..f054cc68 100644 --- a/archive.php +++ b/archive.php @@ -18,17 +18,17 @@ get_header(); ?>

' . single_cat_title( '', false ) . '' ); + single_cat_title(); elseif ( is_tag() ) : - printf( __( 'Tag Archives: %s', '_s' ), '' . single_tag_title( '', false ) . '' ); + single_tag_title(); elseif ( is_author() ) : /* Queue the first post, that way we know * what author we're dealing with (if that is the case). */ the_post(); - printf( __( 'Author Archives: %s', '_s' ), '' . get_the_author() . '' ); + printf( __( 'Author: %s', '_s' ), '' . get_the_author() . '' ); /* Since we called the_post() above, we need to * rewind the loop back to the beginning that way * we can run the loop properly, in full. @@ -36,13 +36,13 @@ get_header(); ?> rewind_posts(); elseif ( is_day() ) : - printf( __( 'Daily Archives: %s', '_s' ), '' . get_the_date() . '' ); + printf( __( 'Day: %s', '_s' ), '' . get_the_date() . '' ); elseif ( is_month() ) : - printf( __( 'Monthly Archives: %s', '_s' ), '' . get_the_date( 'F Y' ) . '' ); + printf( __( 'Month: %s', '_s' ), '' . get_the_date( 'F Y' ) . '' ); elseif ( is_year() ) : - printf( __( 'Yearly Archives: %s', '_s' ), '' . get_the_date( 'Y' ) . '' ); + printf( __( 'Year: %s', '_s' ), '' . get_the_date( 'Y' ) . '' ); elseif ( is_tax( 'post_format', 'post-format-aside' ) ) : _e( 'Asides', '_s' );