That should already be happening because the helper method for espresso_event_categories loops through all of the event categories and displays a link for each one. You might be running into an issue with the second param set to none, it should actually be a boolean. So can you try:
Ah yes that does work thanks.
However,
Is there anyway of setting a class for the links that it generates, preferably different for each category?
The client wants to have the name of the category highlighted in a different colour, depending on what category the event is in.
That’s a defined method. I wonder if your code is running too late, or possibly your page isn’t technically an event custom post type so the class might not be loaded on that page. In either case you don’t need it.
Viewing 6 reply threads
The support post ‘Displaying Category(s)’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.