[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]
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());?>