Support » Plugin: The Events Calendar Shortcode & Block » No Event Message Only

  • I would only like to use this plugin to display a message when there are NO upcoming events. BUT if there are upcoming events, I don’t want the event-list to be displayed by your plugin (I will let my theme’s (Avada) Event element display the event-list instead). I was hoping something like this would work (where I just set the limit to zero) but it doesn’t work:

    viewall=’false’ limit=’0′ message=’There are no featured events at this time.’

    The problem is that the Avada theme doesn’t have a message when there are NO events, so I wanted to use your plugin to display the “no event” message, but I don’t want your plugin to display anything if there is one or more upcoming events (only because I just prefer the way Avada display the events). Any ideas?

Viewing 1 replies (of 1 total)
  • Plugin Author Brian Hogg


    Hi @erintheresa!

    Definitely a use case that wasn’t considered 🙂 You’d need to add some custom code to remove the output, perhaps using the ecs_ending_output filter.


Viewing 1 replies (of 1 total)
  • The topic ‘No Event Message Only’ is closed to new replies.