Events Made Easy Forums How do I … Select shown categories in event List

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #43802
    Anonymous
    Inactive

    I use this format for my standard event list:

  • #d.#m.#Y – #H:#i – #_LINKEDNAME – #_CATEGORIES
  • 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

  • #d.#m.#Y – #H:#i – #_LINKEDNAME – #_CATEGORIES show only if ID=1,4,23
  • 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

#49752
Franky
Keymaster

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)

#49753
Anonymous
Inactive

works fine, thanks a lot!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top