/ Published in: PHP
URL: http://codex.wordpress.org/Template_Tags/wp_list_pages#List_subpages_even_if_on_a_subpage
Get the ID of the root (oldest ancestor, parent without parents) page relative to the current page in a WordPress page template.
Can be helpful for use with wp_list_pages() to create navigation markup.
Expand |
Embed | Plain Text
Comments
Subscribe to comments
You need to login to post a comment.

cheers! very helpful and completely missed it in the codex!