I’m trying to create the query string for the WP Query in the Looper Provider. I’d like it to contain ACF fields.
Here are the parameters:
- Pulls from 2 different Post Types: pilgrimage_pages and pages
- Order by departure_date (ACF field) descending
- category_array (ACF field) is a Select field which is returned as an array - The Select item text should equal “poland”
- Status is published
I have this so far but I can’t figure out how to do category_array:
post_type[]=pilgrimage_pages&post_type[]=page&orderby=meta_value&meta_key=departure_date&order=DES&post_status=publish
Can you please help?
Thanks.