Hello! Loving the new MEC customization options! I’m working on an events looper and got almost everything working so far. The only thing I haven’t got is the order of events. I have them ordered by date, but can’t get the times correct. Right now, events on the same date seem to order by the time digit. So they would go 1am, 2pm, 3am, 5am, 7pm, etc. instead of in order by time of day. I’ve read a few older threads of a similar topic and couldn’t quite follow the instructions. Also maybe the solutions are outdated?
Here’s my looper setup:
Query Builder
Post Type is Event
Meta Values
meta key: mec_start_date (if I change this to mec_start_datetime, it breaks)
comparison: greater than or equal to
meta value: {{dc:global:date format=“Y-m-d”}}
type is DATE (if I change this to DATETIME it seems to have no effect)
Order by is Meta Value ascending, meta key is mec_start_datetime (if I change this to mec_start_date, it reorders, but is still not in correct time order)
What am I missing? Can someone help with my setup? Thanks!
Edit to add screenshot: