• Resolved jeppeb

    (@jeppeb)


    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/.

    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 to see the link]

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

    (@joneiseman)

    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?

    joneiseman

    (@joneiseman)

    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!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hide empty event_list shortcode’ is closed to new replies.