Support » Plugin: Event Organiser » How to exclude events in Events List shortcode?

  • Have tried the usual get_post parameters but, as yet cannot work out how to exclude a single event or array of events from The Events List shortcode.

    Does anyone know if there is a simple way of doing this, please?

Viewing 1 replies (of 1 total)
  • Plugin Author Stephen Harris

    (@stephenharris)

    Unfortunately this isn’t possible with the shortcode at present. I’ll look into addressing this. The “post__not_in” argument only supports arrays, and doesn’t accept comma-separated lists.

    You could use the eo_get_events() function however.

Viewing 1 replies (of 1 total)
  • The topic ‘How to exclude events in Events List shortcode?’ is closed to new replies.