- <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
-<?php /* If this is a category archive */ if (is_category()) { ?>
- <h2 class="pagetitle">Archive for the '<?php echo single_cat_title(); ?>' Category</h2>
-
+ <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
+ <?php /* If this is a category archive */ if (is_category()) { ?>
+ <h2 class="pagetitle">Archive for the ‘<?php single_cat_title(); ?>’ Category</h2>
+ <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
+ <h2 class="pagetitle">Posts Tagged ‘<?php single_tag_title(); ?>’</h2>