Thanks again for this.
I’m not sure this is it either.
After watching nearly all those videos, I think what I need is a looper built using a wp_query that only pulls back posts that have an ACF field containing a specific value.
So, I have 100 ish pages each with the sdg_list custom field
I want to construct a wp_query using the query string option to say "go get all posts where sdg_list is equal to a certain value, such as “3,4,5,6”
How do I construct that query in X?
This page shows me how to do it in php but I can’t translate that to the string I need in X…
As an example, how would I structure this query in the X interface?
$posts = get_posts(array(
'numberposts' => -1,
'post_type' => 'post',
'meta_query' => array(
'relation' => 'AND',
'key' => 'color',
'value' => array('red', 'orange'),
'compare' => 'IN',
'key' => 'featured',
'value' => '1',
'compare' => '=',