How to include category name of single post in page title
-
Anyone know what I can use to echo just the name of a single post’s category in its page title in single post view? I’ve tried putting in the_category() but it gives the category to me as a link (with tags before and after it). I;m just looking to call up the category name from outside the loop.
Any suggestions?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to include category name of single post in page title’ is closed to new replies.