- This topic has 2 replies, 2 voices, and was last updated 12 years, 6 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › Select shown categories in event List
I use this format for my standard event list:
Behind the linkdname i can see all (!) checked categories. But I like to see only some of them.
Is there a way to hide some categories? For example
I like to have all events in my list (so I don’t work with ‘notcategorie’) with start date, end date, start time, location, but the categorie only if the ID is one of my choosen ones.
Thanks.
Kuddel
Use conditional tags then:
#d.#m.#Y - #H:#i - #_LINKEDNAME - [events_if tag='#ESC_CATEGORIES' contains='My_Cat1']My_Cat1[/events_if] [events_if tag='#ESC_CATEGORIES' contains='My_Cat2']My_Cat2[/events_if]
Just be careful, when using [events_if]..[/events_if], the next [events_if] needs a space before the “[” (some stupid wordpress limitation)
works fine, thanks a lot!