on the parent page:
<?php $parent = $post->ID; ?>
then i would go through the loop. It gets all the children of the current page
it outputs the children but not the parent how can I grab the parent!? or do i need to make this a seperate loop?
- The topic ‘grabbing parent page and its children’ is closed to new replies.