Pulling category slug for use
-
Hi.
Been through the wiki and support forums looking for answer to this.
I would like to know how I can insert the category slug into a piece of html. Is this possible?
ie:
<img src="/<?php echo(category_slug_here)?>.gif">
Am I missing something obvious to do this? What do I do to call that info? using the_category() is there a special parm to pass to it?
Thanks.
P.
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Pulling category slug for use’ is closed to new replies.