Home › Forums › Front-end Issues › Display parent\'s relationship on child post › Reply To: Display parent\'s relationship on child post
John,
Your answers to other ACF user’s questions have helped me tremendously in learning ACF. I’m a fan of yours and I appreciate your reply.
I tried your suggestion of
$value = get_field('field_name', $post->post_parent);
and it’s still displaying all of the posts – including those without a relationship to the parent. I apologize, I’m still a bit lost, so I wonder if I explained my question properly.
The post object field on the form on the child post should filter posts that share a relationship with the child post’s parent.
I’m still missing something…
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.