- This topic has 4 replies, 2 voices, and was last updated 7 years, 11 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘Generic’ is closed to new topics and replies.
Events Made Easy › Forums › Generic › EME_IF for category
Hi Franky,
would it be feasible to introduce:
[eme_if tag='#ESC_EVENTCATEGORY' value='Swimming']Bring your swim suit[/eme_if][eme_if tag='#ESC_EVENTCATEGORY' notvalue='Swimming']Bring your shoes[/eme_if]
🙂
Many thanks!
Joerg
#_EVENTCATEGORIES already exists, so eme_if already supports it
Excellent! I should have tested it before posting, but I could not find this at the documentation, that’s why I didn’t 🙂
So what is expected? The string or the ID?
Well, I would say: check the doc at http://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-2-events/ (search for “CATEG” or so)
That particular placeholder returns the category names
OMG I must have blind – I’m so sorry Franky, I just found it:
[eme_if tag='#ESC_CATEGORIES' contains='course']<b>First day of the course: #_STARTDATE</b></div>[/eme_if][eme_if tag='#ESC_CATEGORIES' notcontains='course']<b>Event day: #_STARTDATE</b></div>[/eme_if]
Today I have found it here: http://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-1-conditional-tags/
Thank you for your patience with me 🙂