This one seems like it should be fairly simple but I’m once again missing a trick here.
I have a page which has some children. When I’m visiting the page in Frontity, I’d expect I would have access to the children to at least be able to get their IDs, but I’m not being given anything.
I understand there’s a
include_children parameter but I’m not sure how to go about using it.
Here’s what I’m trying to do:
- Find the page ID (
data.idreturns this fine)
- Find child pages of this ID
- Loop through child pages and render a component, passing things like the title and featured image