Support

Account

Forum Replies Created

  • Prior to reaching out for support, I tried logic similar to your answer above 100x, but with slight variations in the format. I’ve found that the proper format can be so nuanced.

    Your code works. Thank you, John. You may not know how much people rely upon you and how helpful you are to them.

  • 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…

Viewing 2 posts - 1 through 2 (of 2 total)