get category name in category template
-
I want my category template to load a landing page with an identical slug since the category description in WordPress doesn’t have a rich text editor.
So if the URL to a category page looks like this:
https://mysite.com/?cat=163
Then the only data I have to work with is the category ID. What is the easiest way to get the category’s slug?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘get category name in category template’ is closed to new replies.