i want a method to obtain the all anchors for every page in to the navigation as though these were sub navigation links. I discovered the wordpress plugin Better Anchor Links but this may it just for the particular page.

If a person will easily notice me the way i could possibly get the navigatio as php array and just how i'm able to search the page content of every navi point i might code it my self however i have no idea how to start.

thanks ahead of time


To tell the truth for me personally the correct answer is unclear what you're attempting to achieve, but there's an wordpress function to list out all products of the custom menu (the default menu differs).

Here's the hyperlink to wp_get_nav_menu() within the wordpress codex, in which you may also find every other details about menus along with other wordpress functions, really damn useful!!