Wordpress Taxonomy title output

Posted by Blackbird on Stack Overflow See other posts from Stack Overflow or by Blackbird
Published on 2010-05-10T19:41:32Z Indexed on 2010/05/10 19:44 UTC
Read the original article Hit count: 370

Filed under:
|

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 the same thing for if the user is viewing a specific taxonomy page?

is_taxonomy() doesn't exist so i'm suck! :/

© Stack Overflow or respective owner

Related posts about Wordpress

Related posts about taxonomy