Home Forums Event Espresso Premium Only show expired events

Only show expired events

Posted: November 23, 2017 at 3:21 am


November 23, 2017 at 3:21 am

I am trying to show only a list of expired events. It is for customers who need to find events they have been on in the past but I do not want them to see current events on the same list.

This is the shortcode I am using [ESPRESSO_EVENTS show_expired=true sort=DESC limit=5] I would like to be able to add show-current=false.

Is there a way to do this?



  • Support Staff

November 23, 2017 at 10:19 am

Hi Runar,

You can add the following code to your website and update the line of code that starts with is_page to match your page for showing only expired events:

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


November 24, 2017 at 1:32 am

Thank you Josh I will try that ๐Ÿ™‚


  • Support Staff

November 27, 2017 at 1:56 pm

How’d that work out for you?

The support post ‘Only show expired events’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: closed

Updated by  Josh 2 years, 10 months ago ago

Topic Tags

Tagged: ,


This topic is:
Do NOT follow this link or you will be banned from the site!