wordpress snippets last updated   : October 6, 2014
we now have 641 snippets

Unlimited number of child pages using wp_list_pages

wordpress snippet

Adding this snippet to the sidebar.php of your wordpress theme will use wp_list_pages to display all child pages regardless of depth. This is something I have not found online and needed for a current theme I’m working on, enjoy!

read more