I’m trying to list events in date and time order, restricted to one category. No problem with the category restriction, but the events order themselves by ID. I was having this problem before on the full [ESPRESSO_EVENTS] listing, and removed the “id, ASC” from the end of line 109 of templates/event_list.php. This fixed the problem for the main events listing. Adding the category parameter to an [EVENT_LIST] shortcode brings the problem back, whether order_by=date(start_date) is present or not. Removing the category parameter fixes the problem. Please advise.
Unfortunately, that shortcode doesn’t seem to work, either in combination with anything or by itself. No matter how I use the time(start_time) shortcode I get back “No events available.”
I’d rather not just at the moment, because we’re actually taking reservations on the events in question and I don’t want to disrupt that if at all possible. Can you let me know where I can find the code regarding the time(start_time) parameter? I upgraded from 3.1.26 to 3.1.27 yesterday and it’s possible that the file with that parameter didn’t get updated.
No problem. Date and time functions are processed from event-espresso/includes/functions/time_date.php
Viewing 5 reply threads
The support post ‘Event list sorting problem with category ID’ 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.