Home › Forums › Front-end Issues › Display all posts with special treatment for relationships › Reply To: Display all posts with special treatment for relationships
Hi @rktlwm
The ‘post__not_in’ param expects an array or ID’s, not a string, nor an object.
Can you please confirm that the code:
$impact_values = get_sub_field('impact_value_select');
echo '<pre>';
print_r( $impact_values );
echo '</pre>';
die;
Displays only an array of ID’s? Can you please post the result here?
Thanks
E
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.