Support

Home Forums Custom Files Add-on (EE3) Order by start_date & start_time in wp_query (2)

Order by start_date & start_time in wp_query (2)

Posted: December 19, 2013 at 3:36 pm


Hugo Azzolini

December 19, 2013 at 3:36 pm

Hi.

I made adjustments previously to the wp_query to allow for ordering by start date & start time: https://eventespresso.com/topic/order-by-start_date-start_time-in-wp_query/

However, these changes were overwritten in updates.

Is there a more permanent solution?

Thanks.

  • This topic was modified 10 years, 4 months ago by  Hugo Azzolini.
  • This topic was modified 4 years, 2 months ago by  Garth.


Dean

December 20, 2013 at 3:16 am

Hi,

It looks like those changes are to core files, and at least one function is not pluggable so I am doubtful that there is a solution that wont get over written on updates, barring adding the code to the core plugin formally.


Hugo Azzolini

December 23, 2013 at 8:37 am

So, is it accurate to say that ordering event posts by start date AND start time is currently outside of Event Espresso’s capabilities?


Sidney Harrell

December 23, 2013 at 2:57 pm

Those changes have been committed to the 3.1.37-Alpha branch. So if you make them to 3.1.36.1.P, then that should be the last time you’ll have to. Unless there is another point release to 3.1.36, then they should be included in the next update.

The support post ‘Order by start_date & start_time in wp_query (2)’ 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