Display list of child pages
-
I would like to display a list of child pages under a certain page in the sidebar.
I want to be able to do this by accessing a function or a shortcode and supplying the page ID, like this:
<?php display_child_pages(1); ?>
Is there already an in-built function which does this? If not, how can I code one?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Display list of child pages’ is closed to new replies.