Hide empty event_list shortcode | WordPress.org

[ad_1]

You could try this:

[events_list scope="today" category="flagdag,skjultflagdag" limit="1" no_results_message=""]Der flages i dag #_EVENTDATES på #_LOCATIONLINK. #_EVENTLINK[/events_list]

Thread Starter
jeppeb

(@jeppeb)

Thanks! Unfortunately it didn’t make any difference… any ideas what to try then?

I don’t know of any way to change the message in the shortcode (since the method I suggested doesn’t work). You can change it globally by going to Events Manager Settings and then select the Formatting tab and then click on the Events section and then in the Events List Format make the “No events message” field blank and then click on the “Save Changes” button.

Thread Starter
jeppeb

(@jeppeb)

That worked, thank you so much for your help!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer