Home › Forums › Event Espresso Premium › Sort events by event end date
Posted: April 20, 2020 at 1:31 am
EE4 Everything License
April 20, 2020 at 1:31 am
I would like to display the events sorted by their end date. How can do that via EventListQuery?
April 20, 2020 at 8:56 am
If using EventListQuery you should just be able to add 'order_by' => 'end_date', to your query attributes.
'order_by' => 'end_date',
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
Updated by Tony 1 month ago ago