(Oxygen builder) How the F do i make a repeater target the current post’s parent, and not ALL parent posts.

[ad_1]

Somehow i can’t for the life of me target just a post’s parent. I’m trying to do a advanced custom field thing, and after a lot of working back, i realized my problem is i can’t get a repeater to target JUST a post’s/page’s parent.

What do i actually put in advanced query post\_parent (or whatever other paramater) that makes me target the CURRENT post’s/page’s parent. And not ALL pages/posts that are parents, just this current post/page parent.

Very apricated \^\_\^;

[ad_2]
1 Comment
  1. You need to post your code, but I’d imagjne its because your not including the ID of the page.
    You would probably need to do something like

    <? Php echo get_post_parent(get_the_ID());?>

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer