Show parent’s child and also child’s, child on a page?
Will get_pages() work for you? http://codex.wordpress.org/Function_Reference/get_pages If I’m understanding your question correctly, you would want something like this: $children_of_page = get_pages(array( ‘child_of’ => $post->ID, ‘parent’ => $post->ID //defining both parent and child forces the list to only include direct children. )); $children_of_first_child = get_pages(array( ‘child_of’ => $children_of_page[0][ID], ‘parent’ => $children_of_page[0][ID] )); If you wanted to … Read more