Hello Darren,
Can you please change the return value of your option settings?
And then try to use this argument:
$meta_query[] = array(
'relation' => 'AND',
array(
'key' => 'associated_practice_practitioners',
'value' => '1734',
'compare' => '='
),
array(
'key' => 'website_style_practitioners',
'value' => '33',
'compare' => '='
)
);
$query = array(
'post_type' => 'practitioner',
'meta_query' => $meta_query
);
You may get something like:
post_type=practitioner&meta_query%5B0%5D%5Brelation%5D=AND&meta_query%5B0%5D%5B0%5D%5Bkey%5D=associated_practice_practitioners&meta_query%5B0%5D%5B0%5D%5Bvalue%5D=1734&meta_query%5B0%5D%5B0%5D%5Bcompare%5D=%3D&meta_query%5B0%5D%5B1%5D%5Bkey%5D=website_style_practitioners&meta_query%5B0%5D%5B1%5D%5Bvalue%5D=33&meta_query%5B0%5D%5B1%5D%5Bcompare%5D=%3D
where you can replace 1734
with {{dc:acf:post_field field="associated_practice_practitioners"}}
and the 33
to {{dc:acf:option_field field="site_to_make_live"}}
assuming that those ACF fields will return the custom post IDs.
Hope this makes sense.