Display 'No Events' when eo_events returns nothing

WordPress Event Management, Calendars & Registration Forums Request A Feature Display 'No Events' when eo_events returns nothing

This topic contains 3 replies, has 2 voices, and was last updated by  Stephen Harris 11 years, 1 month ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8173

    Hi Stephen,

    I could probably write some custom code for this, but the option to return ‘No Upcoming Events’ or similar when eo_events returns nothing would be quite handy!

    Cheers,

    Andrew

    Andrew Shankie
    #8181

    Hi Andrew,

    The default template allows you to display a ‘no events’ message with [eo_events no_events="No events"].

    Stephen Harris
    #8182

    I knew I was doing something stupid!

    Too many hours spent staring at WordPress.

    Thanks Stephen!

    Andrew Shankie
    #8192

    Well, it wasn’t documented (now fixed). Your welcome 🙂

    Stephen Harris
Viewing 4 posts - 1 through 4 (of 4 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.