How to display the category slug and not the category name?
-
I am trying to call the category slug but using this: <?php single_cat_title(); ?> returns the category name. How can I call the slug instead?
Also how can I call the slug for tags?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to display the category slug and not the category name?’ is closed to new replies.