Wordpress list pages with children

Wordpress list pages with children

Hi guys this looks doable but I cant quite figure it out. I have a lists of pages in wordpress

Page1 Page2 Page3 Page4 

when you are on a page need to display it's children but only it's children and not the children of the other pages (which all have children)

Page1 Page2     -child1     -child2     -child3         --grandchild1         --grandchild2     -child4 Page3 Page4 

I have checked the codex but I don't think it does this? Can anyone help?

Thanks Jamie

random custom field wordpress


embed short video clips directly in wordpress site

How to wrap each top most category in <ul> tags?

“Unable to load dynamic library” on WordPress blogs error log?


How do you add a WordPress admin page without adding it to the menu?
Sure, you can do this with get_page_children().

Make WordPress homepage a post category?
It takes a parent page ID and an array of all pages and returns a filtered array that only contains the pages that are children of the parent page..
Is it possible to build an editable (in wp-admin) drop down menu in Wordpress?

56 out of 100 based on 51 user ratings 76 reviews