Support

Home Forums Event Espresso Premium Show Past Events

Show Past Events

Posted: March 12, 2014 at 6:16 am


Ben

March 12, 2014 at 6:16 am

Hi Josh,

I’ve come across one of your previous helpful posts – http://eventespresso.com/topic/show-page-with-past-events/ about how to show past events.

How would the code appear to have it in reverse order from the most recent past event to the oldest past event?

That way all the most recent past events will appear at the top of the page.

Thanks
Ben


Josh

  • Support Staff

March 12, 2014 at 7:48 am

Hi Ben,

The ORDER BY clause can order them. Something like this:

ORDER BY date(start_date) DESC


Ben

March 12, 2014 at 8:02 am

Fantastic!

Thanks Josh!

The support post ‘Show 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.

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  Ben 5 years, 5 months ago ago

Topic Tags

Tagged: 

Notifications

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