Taxonomy title output
-
I’m trying to output the title of a taxonomy page when viewing it…
So like, if i was on a ‘tag’ page i would go:
<?php if (is_tag()) {?> <h1><?php single_cat_title(); ?></h1> <?php } ?>
But how would i achieve something similar for if the user is viewing a taxonomy page?
is_taxonomy() doesn’t exist so i’m suck! :/
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Taxonomy title output’ is closed to new replies.