Add category slug for styling template in widget
-
How can I reference the category in the template area in the widget.
For example, I would like output to be:
<div class="cat-1">My Event Title</div>
using widget template of:
<div class="[event-category]">[event-title link=false]</div>
Thanks.
am-events
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Add category slug for styling template in widget’ is closed to new replies.