You guys know that great piece of code that's often in the archive or index.php files goes something like:
<?php if (is_category()) { ?>
<h1>Entries Categorized as <?php echo single_cat_title(); ?></h1>
<?php } elseif (is_author()) { ?>
<h1>Author Archive</h1>
<?php } elseif (is_month()) { ?>
<h1>Entries from <?php the_time('F Y'); ?></h1>
This chunk of PHP controls the text that appears at the top of the page in the page heading H1 tag.
I need to add an "elseif" for when I'm displaying a tag though and I don't know how to specify that with PHP. When I click on a tag from my tag cloud on my archives page, it launches /index.php?tag="tagname".
If you have the code for this, I'd appreciate it.