Events Made Easy Forums Generic EME_IF for category

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #55848
    Anonymous
    Inactive

    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

    #55850
    Franky
    Keymaster

    #_EVENTCATEGORIES already exists, so eme_if already supports it

    #55852
    Anonymous
    Inactive

    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?

    #55853
    Franky
    Keymaster

    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

    #55854
    Anonymous
    Inactive

    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 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Generic’ is closed to new topics and replies.
Scroll to Top