Support

Home Forums Event Espresso Premium sort order

sort order

Posted: October 3, 2024 at 4:19 am

Viewing 1 reply thread


Roberta Biese

October 3, 2024 at 4:19 am

I’m trying to rearrange the order of the first 3 events on a page. So, I set them at different times and used the “time(start_time)” sort function as follows: [ESPRESSO_EVENTS category_slug=2024-fall-asynchronous-courses limit=40 order_by=time(start_time) sort=ASC].
But, it’s NOT working! The three aren’t changing order at all. What am I doing wrong.


Tony

  • Support Staff

October 3, 2024 at 4:47 am

Hi there,

May I ask where you’ve seen order_by=time(start_time) used for that shortcode, if its in the docs somewhere I’d like to get that cleared up.

The available values for that parameter are:

id
start_date
end_date
event_name
venue_title
city
state

So in your case order_by=start_date should work here.

Viewing 1 reply thread

The support post ‘sort order’ 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