Support

Home Forums Event Espresso Premium [ESPRESSO_EVENTS_TABLE_TEMPLATE] show only expired

[ESPRESSO_EVENTS_TABLE_TEMPLATE] show only expired

Posted: February 17, 2017 at 4:47 am


Matthew Bernier

February 17, 2017 at 4:47 am

Hi Guys,

Is there a way to only show expired or past event using the [ESPRESSO_EVENTS_TABLE_TEMPLATE] plugin?

Thanks!

Matthew


Josh

  • Support Staff

February 17, 2017 at 6:05 pm

Hi Matthew,

Yes.

First, you put this short code on the page:

[ESPRESSO_EVENTS_TABLE_TEMPLATE show_expired=true sort=DESC]

or if want to reverse the order:

[ESPRESSO_EVENTS_TABLE_TEMPLATE show_expired=true sort=ASC]

Then you add the following code to your website:

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

You can add the above to a functions plugin or into your WordPress theme’s functions.php file.

The support post ‘[ESPRESSO_EVENTS_TABLE_TEMPLATE] show only expired’ 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