List WordPress subpages even if on a subpage


/ Published in: PHP
Save to your folder(s)

his code will show the child pages, and only the child pages, when on a parent or on one of the children.
This code will not work if placed after a widget block in the sidebar.

URL: http://codex.wordpress.org/Function_Reference/wp_list_pages

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.