list categories of an event, with #_CATEGORYCOLORS ?
-
I’m trying to add a color to each category name across the site, and I got the calendar events and basic category list working using:
<li><span class="category-color" style="background-color: #_CATEGORYCOLOR ">#_CATEGORYLINK</span></li>
But am unable to figure out how to add that markup around the categories list on my event single pages. I have looked through the documentation on the plugin site and the Help page in the plugin itself but can’t find any way to list out single categories so that I can put a span with #_CATEGORYCOLOR around each one.
So far it seems the only way to list categories for a specific event is:
#_CATEGORIES
which outputs:<ul class="event-categories"> <li> <a href="mylink">mycategorytitle</a> </li> <ul>
is there a way to add the span around each of these list items?
- The topic ‘list categories of an event, with #_CATEGORYCOLORS ?’ is closed to new replies.