- This topic has 1 reply, 2 voices, and was last updated 4 years ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › eme_if – various values
Is it possible to have various values for eme_if?
In the past I used “le=” and “gt=” which worked great.
Now I want to have a certain field only shown in specific event categories:
[eme_if tag='#_EVENTCATEGORYIDS' value=X]
is there a way to put in various values e. g. 3,6 and 9? I tried value=3,6,9 as well as value=’3′,’6′,’9′ which didn’t work.
Thanks in advance,
Florian
In your case, use “incsv” and repeat for each wanted value:
[eme_if tag='#_EVENTCATEGORYIDS' incsv="3"]
do stuff
[/eme_if]
[eme_if tag='#_EVENTCATEGORYIDS' incsv="6"]
do stuff
[/eme_if]
[eme_if tag='#_EVENTCATEGORYIDS' incsv="9"]
do stuff
[/eme_if]