/ Published in: PHP

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.
Can be helpful for use with wp\_list\_pages() to create navigation markup.
Expand |
Embed | Plain Text
URL: http://codex.wordpress.org/Template_Tags/wp_list_pages#List_subpages_even_if_on_a_subpage
Comments
