Home › Forums › Feature Requests › Parent/Child option for custom post type › Reply To: Parent/Child option for custom post type
I don’t think you’ll be seeing a parent post or child post location rule any time in the near future built into ACF, especially for custom post types, and even more so of the parents/children are not the same post type. You’re going to need custom location rules https://www.advancedcustomfields.com/resources/custom-location-rules/.
I have also created several examples of custom location rules in this repo https://github.com/Hube2/acf-filters-and-functions. I don’t have one specifically for post parent, but there are a couple there that could be easily modified to be specific to the post parent.
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.