Support

Home Forums Event Espresso Premium Event Espresso 4 Shortcode

Event Espresso 4 Shortcode

Posted: May 29, 2017 at 2:47 am

Viewing 1 reply thread


jbbruning

May 29, 2017 at 2:47 am

Hi there,

Is there a way i might be able to split out ‘Events upcoming’ and ‘Events expired’? I can see i can set the shortcode to omit or include expired events, but was hoping to be able to show two lists. 1 with upcoming events only, and the other with expired events only.

Many thanks for you help.


Tony

  • Support Staff

May 29, 2017 at 8:37 am

Hi there,

We don’t currently have the option to display only expired events, however, you can use something like this:

https://gist.github.com/joshfeck/d68b3c6da61c92ce92c4f77a958a20de

Use the is_page() check to only apply the filter on the page you want to dipslay the expired events on.

Or create your own shortcode to apply the same filter for your own list.

Would that work?

Viewing 1 reply thread

The support post ‘Event Espresso 4 Shortcode’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso