Home › Forums › Front-end Issues › Display parent\'s relationship on child post › Reply To: Display parent\'s relationship on child post
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!
CPT registration is coming to ACF! We demoed the new feature during the most recent session of ACF Chat Fridays. Check out the summary for the details. https://t.co/k2KQ3WWBAz— Advanced Custom Fields (@wp_acf) March 7, 2023
© 2023 Advanced Custom Fields.