Support

Home Forums Event Espresso Premium Event List for past events only

Event List for past events only

Posted: August 20, 2012 at 8:02 pm

Viewing 1 reply thread


mminten

August 20, 2012 at 8:02 pm

I would like to have a list of only past events. If I use the shortcode: [EVENT_LIST show_expired=true] it shows the past events with the current events. How to I remove the active events from this list and get only expired events?


Chris Reynolds

  • Support Staff

August 21, 2012 at 8:54 am

We’ve gotten this question before and currently there are only two, fairly manual options:

1) Create a category called “Archive” (or whatever you want). After the event is over, tag it with this event category and have a page on your site that is doing an event list (or category list) of just that category.

2) Create a new page template or shortcode (with the custom files add-on) that modifies the SQL query to not display events past today’s date.

There might also be a third option that uses the custom post types functionality and would involve manipulating wp_query and the WordPress loop. Suffice to say, this isn’t a built-in feature, right now.

Viewing 1 reply thread

The support post ‘Event List for past events only’ 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