Get the current category taxonomy term name?
-
At this point it’s all a big blur in my head about taxonomies… I have a issue and I have googled it for about 5 hours now and no luck…
it’s simple.
I have a page that display all posts under a post_type’s taxonomy
post_type = book
taxonomies for book = non-fiction, romance…my url looks like:
https://www.domain.com/book/romance/
The url above will show all “romance” books
All I want to do is get the word “romance”. So I can right something like… “Books Posted Under Romance”.
How do I do that? How do I get the taxonomy term name of the page i’m in?
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Get the current category taxonomy term name?’ is closed to new replies.