Hi,
I’ve been using this thread to build a query to pull in MEC featured images:
The only problem I’m running into is trying to get it to Order By using the mec_start_date. When I use the &orderby=meta_key, it sorts alphabetically. BUT, when I use meta_value_num it is sorting correctly, BUT for some reason most of my items disappear (I have conditionals set for a certain category as I could not get the taxonomy part of the query string to work).
Here is what I’m using:
post_type=mec-events&post_status=publish&meta_key=mec_start_date&meta_type=DATE&meta_compare=>=&meta_value={{dc:global:date format=“Ymd”}}&orderby=meta_value_num
I have my looper consumer as a grid cell and it has a conditional to only show the posts with the tag “Take Action”.
Here is the page it is on (at the bottom): https://powercoalition.org/takeaction/
Any ideas? Or is this beyond the scope of what can be offered?
Thanks!
Jen