Home › Forums › Backend Issues (wp-admin) › Relationship field and subpages › Reply To: Relationship field and subpages
Trying to do the same thing, showing only child pages of a parent in a relationship field. Other query args I tried work fine, but setting post_parent
shows only a “(no title) ()” in the list, though the child pages do show when I use the search field.
Also, several of these errors logged each time the page with the field loads:
PHP Notice: Trying to get property of non-object in /Users/.../wp-content/plugins/advanced-custom-fields-pro/api/api-helpers.php on line 1709
Seems like a bug.
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.