I have several recurring events on my website. I’m using an events listing and ordering by date, using the shortcode: [EVENT_LIST category_identifier=category_name show_recurrence=true show_expired=false order_by=date(start_date),id]
When I add new dates to a recurring event, the new dates appear at the bottom of the list, instead of being inserted into chronological order.
Thanks for your help. However, I made that change to the shortcode, then cleared the cache and it is still displaying in the same manner. Is there something else I can try.
I took a look through the code, by default ORDER_BY is set to use ‘e.recurrence_id, date(start_date)’ which basically groups the events in a series together, then orders those events by start_date.
By adding you own attribute ‘order_by=date(start_date)’ you override this and sort only by start_date.
If you remove the order_by attribute completely the events should be sorted by start_date correctly.
Brilliant! That did the trick! Thank you so much for the help. I’ll mark this topic as resolved.
Thanks
Sharone
The support post ‘New date added to recurring events appear out of chronological 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.
Support forum for the Recurring Events Manager add-on.