Try adding:
function theme_get_archive_date() {
if (is_day()) $this_archive = get_the_time('j F Y');
elseif (is_month()) $this_archive = get_the_time('F Y');
else $this_archive = get_the_time('Y');
return $this_archive;
}
to your theme’s functions.php file. Then amend the <title>
in header.php to use something like:
<title><?php if(is_search()) {echo ' Search Results for ''.wp_specialchars($s,1).'' on ';bloginfo('name');}
elseif (is_category() || is_author()) {wp_title(':',true,'right');bloginfo('name');}
elseif(is_tag()) { echo 'Entries tagged with ';wp_title('',true);if(wp_title('',false)) {echo ' : ';} bloginfo('name');}
elseif(is_archive() && function_exists('theme_get_archive_date')) {echo theme_get_archive_date().' : ';bloginfo('name');}
elseif(is_404()) {bloginfo('name');echo 'Page not found!';}
elseif (have_posts()) {wp_title(':',true,'right');bloginfo('name');}
else {bloginfo('name');}?>
</title>
Advance apologies for any syntax errors in that last block. Just grabbed it and trimmed it down from one of my themes.