Home › Forums › Add-ons › Repeater Field › Random and limited fields from parent page › Reply To: Random and limited fields from parent page
I’m not sure what you’re having a problem with, getting the post parent or showing the random list. So let’s start with the first one.
Where is the value for $post_ID coming from in this statement?
$parentpost_id = wp_get_post_parent_id( $post_ID );
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.