Support » Plugin: Events Manager » Conditional Placeholders Inside of Conditional place holder

  • Resolved azchipka

    (@azchipka)


    Is there a way to use a conditional placeholder inside of another conditional placeholder.

    For example I want a notice above a booking form (booking form only shows when books are enabled). The notice is different based on if the event is free or paid.

    When I use the below code the is_free and not_free conditionals are ignored.

    {has_bookings}
    {is_free}Free Notice{/is_free}
    {not_free}Charge Notice Notice{/not_free}
    [raw]
    #_BOOKINGFORM
    [/raw]
    {/has_bookings}

    http://wordpress.org/extend/plugins/events-manager/

Viewing 1 replies (of 1 total)
  • how about trying something like

    {is_free}Free Notice{/is_free}
    {not_free}Charge Notice Notice{/not_free}
    {has_bookings}
    #_BOOKINGFORM
    {/has_bookings}
Viewing 1 replies (of 1 total)
  • The topic ‘Conditional Placeholders Inside of Conditional place holder’ is closed to new replies.