Is it possible to list child pages and access their content in a loop?


#1

I’m not using the API here.

I’m looking for similar functionality to “blog_recent_posts(‘default’, 3)”

Here I can select a blog and get a list of connected posts.

If I made a blog/post relationship this wouldn’t be a problem, but then the parent page would become a “blog listing” page, where I would lose access to the inline editor.

Having access to the inline editor is important for what I’m doing.

So I want to create a parent/child page relationship, on the page I would use something like {% set children = get_child_pages(‘parent_name’) %} {% for child in children %}

Is this possible?


#2

Bump. I’m curious as well.