I have seen other forum threads about creating a past event list…I see the shortcode argument called “show_expired=true”. This will show all events, with Expired Events included. My Feature request is simple…just add a “show_upcoming” argument that is TRUE by default, but could be set to false.
Using the manually-applied category method to achieve a Past Events list is not a great or long-term solution.
Alternative…on the front end, in any list of events, there many classes included in the event HTML structure – which makes it easy to select certain for custom CSS styling. I am surprised that the event status is not added a as class. That data is used to determine which badge to display (upcoming, expired etc).
By adding the status as a class, we could show an auto-updating Past Event list using the current shortcode, and just CSS > display:none any events with the upcoming class.
Would you consider either or both of these code enhancements?
The support post ‘Past Events Page’ 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.