Home › Forums › ACF PRO › Show only posts that have a relationship › Reply To: Show only posts that have a relationship
You are looking for a not condition. Clients that have not been related to the other posts. The only way that I can think of to do this would be to
1) do a query of all of the posts in the other post type
2) Loop through all of the posts
3) Create a list of unique client post IDs
4) Use the list to query the client posts using posts__in
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.