Home Forums Event Espresso Premium Sort events by event end date

Sort events by event end date

Posted: April 20, 2020 at 1:31 am


April 20, 2020 at 1:31 am

Hi there,

I would like to display the events sorted by their end date. How can do that via EventListQuery?

Thank you!


  • Support Staff

April 20, 2020 at 8:56 am

Hi there,

If using EventListQuery you should just be able to add 'order_by' => 'end_date', to your query attributes.

If not can you post an example of your code so we can check?

You can add a link to a Gist or Pastebin here for us to view.

You must be logged in to reply to this support post. Sign In or Register for an Account

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: publish

Updated by  Tony 1 month ago ago

Topic Tags


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