-
-
Save waqasy/b261e2c6633c89a90a9a46f122b4e59f to your computer and use it in GitHub Desktop.
Instead of wp_list_pages where all children and grandchildren of the current page are listed out this method lists the parent page, siblings of the current page (in menu order) and when it gets to the current page it lists out the children.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment