Title: Hide empty event_list shortcode
Last modified: February 28, 2024

---

# Hide empty event_list shortcode

 *  Resolved [jeppeb](https://wordpress.org/support/users/jeppeb/)
 * (@jeppeb)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/hide-empty-event_list-shortcode/)
 * I want to show a list of one event on the day of the event. When there is no 
   event, I would like to just have no text. Right now it says: Ingen arrangementer(
   no events) – can I change that text in the shortcode?
 * I have looked for an answer on [https://wp-events-plugin.com/documentation/shortcodes/](https://wp-events-plugin.com/documentation/shortcodes/).
 * My code is:
 * `[events_list scope="today" category="flagdag,skjultflagdag" limit="1"]Der flages
   i dag #_EVENTDATES på #_LOCATIONLINK. #_EVENTLINK[/events_list]`
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhide-empty-event_list-shortcode%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [joneiseman](https://wordpress.org/support/users/joneiseman/)
 * (@joneiseman)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/hide-empty-event_list-shortcode/#post-17460826)
 * You could try this:
 *     ```wp-block-code
       [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](https://wordpress.org/support/users/jeppeb/)
 * (@jeppeb)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/hide-empty-event_list-shortcode/#post-17460848)
 * Thanks! Unfortunately it didn’t make any difference… any ideas what to try then?
 *  [joneiseman](https://wordpress.org/support/users/joneiseman/)
 * (@joneiseman)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/hide-empty-event_list-shortcode/#post-17461116)
 * 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](https://wordpress.org/support/users/jeppeb/)
 * (@jeppeb)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/hide-empty-event_list-shortcode/#post-17461313)
 * That worked, thank you so much for your help!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Hide empty event_list shortcode’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 4 replies
 * 2 participants
 * Last reply from: [jeppeb](https://wordpress.org/support/users/jeppeb/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/hide-empty-event_list-shortcode/#post-17461313)
 * Status: resolved