Category Title Tag
In the sidebar of all my pages, I have a <?php the_title() ?> tag that puts the title of the page at the top of sidebar. However, on the category archive pages that display a list of posts in that category, I get the title of the first post there, instead of the category title.
Is there a template tag or another way to display the title of the category archive I’m viewing?
- The topic ‘Category Title Tag’ is closed to new replies.