Support

Home Forums Event Espresso Premium show page with past events

show page with past events

Posted: May 3, 2013 at 2:28 pm


inspectahdeck

May 3, 2013 at 2:28 pm

I would like to show a page of past events only.

 

I have added the following code, but the page doesn’t display anything.

 

[EVENT_LIST show_expired=true order_by=date(end_date) sort=ASC]

 

Stange thing is that I had anotehr page with just [EVENT_LIST] and it works fine (to show upcoming events).

Anyone able to help?

 

Thanks

 

 

 

 


Josh

  • Support Staff

May 3, 2013 at 2:40 pm

Hi there,

In this case, the event list shortcode will not do what you’re looking to do. The show_expired=true parameter will make it so it displays expired events, but it will not filter out active events.

If you are familiar with creating a WordPress page template, you can use some code like this to list out past events:

The support post ‘show page with past 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.

Event Espresso