Home Forums Recurring Events Manager Add-on New date added to recurring events appear out of chronological order

New date added to recurring events appear out of chronological order

Posted: March 28, 2014 at 3:00 pm


March 28, 2014 at 3:00 pm


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.

For an example, see the “Infant/Child CPR and choking – emergency response training” event on this page:

This is a problem because many people won’t look to the bottom of the list to find upcoming dates.

Thanks for your help!

WordPress 3.8.1
Recurring Events 1.1.8.p


  • Support Staff

March 31, 2014 at 1:59 am


With the current shortcode you are using you have:


Which basically says sort by start_date, then ID. As your ‘extra’ dates will have the highest ID’s they will be placed at the bottom.

Simply removing ‘,id’ from that attribute should correctly display the events listed by start_date.

Hope that helps.


March 31, 2014 at 2:25 pm

Hi Tony,

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.



  • Support Staff

April 3, 2014 at 3:35 am

Hi smendes,

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.


April 3, 2014 at 5:21 pm

Hi Tony,

Brilliant! That did the trick! Thank you so much for the help. I’ll mark this topic as resolved.


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.

Event Espresso