Hi, is there a way to query posts if values of relationship inside a repeater matching with the page id?
On CPT ‘recipes’ – repeater is listing people recommending the recipe, I’m unable to use the RELATIONSHIP outside REPEATER field as I need to include a comment from this person. So the structure looks like this REPEATER=’people_recommended_quotes’ with RELATIONSHIP=’person’ and TEXT=’comment’
Would that be the right logic for listing recipes that person recommended alongside related comment?
Thanks!
$documents = get_posts(array(
‘post_type’ => ‘document’,
‘posts_per_page’ => -1, //add this line