Beta 8: We need Looper Provider > Order By > Custom Key

Hi!

The Looper Provider sorting options for the Posts does not allow dynamic dates, from what I see.

image

In my example I need to sort Modern Events Calendar’s events, based on the Start date of the Event.

There is a Custom Key for the start date: mec_start_date. It returns results like this: 2020-11-10.
I believe that we should be able to sort posts based on custom keys that are returning dates.

PS: in my other thread, I am reporting that this key is not returning dates in the proper format.

Hi @Misho,

The Query Builder is a simplified wrapper around WP Query and regretfully we haven’t exposed everything possible in that system. It’s possible in WordPress to order by a meta value but it only works if the data was sourced using a meta query, and we don’t have controls to build out that kind of query right now. It won’t be in this release, but it is still something we’re interested in exploring.

2 Likes