I want to be able to query child pages in the custom post module, but it doesn’t seem there is an option to. I can either manually specific the pages I want, or the pages I don’t and that’s it.
Given this limitation, I was hoping to use a [wpbb-if post: _____________]
styled filter since it’s better able to catch various scenarios… but I can’t seem to find a field connection to check what the parent page of a post is on:
It definitely accomplishes what I want.
The question is: how do I filter based on child pages? It’s clear we pass info along further down for the filter to figure out if criteria is matched, but I’m not sure how it’s working in the backend.
My guesses so far have been to use:
post_parent__in
post_parent
as filtering criteria but neither have worked. I need this functionality as there are multiple pages with sub-content which ideally I can populate automatically as changes come in.