Support » Plugin: Events Manager - Calendar, Bookings, Tickets, and more! » [Plugin: Events Manager] Conditional content if no events

  • Resolved banton

    (@banton)


    Hello,

    I have a site where we have a featured event category being shown. This is all fine when there are events in the pipeline, but I would want to get rid of the usual empty screen problem with a default event. Is there a way to do this? All of the conditional placeholders I’ve found and examples I’ve seen are based on the fact if an event has or has not something, but what about if there are events or not?

    e.g.
    {has_events}
    Show X
    {/has_events}
    {no_events}
    Show Y
    {/no_events}

    How have you solved the dreaded “No events” output?

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

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Events Manager] Conditional content if no events’ is closed to new replies.