Home › Forums › Front-end Issues › Display all posts with special treatment for relationships › Reply To: Display all posts with special treatment for relationships
I believe posts__not_in accepts an array not a string. You have an array with a single string it in it. It needs to be like:
'post__not_in' => array(1,2,4,5)
Remove your implode and see if that does the trick.
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.