The Genesis page_archive.php template is typically used to display a site map of a website build with the Genesis framework. It contains the list of all pages on the website as output by the function wp_list_pages(“title_li=”). This is fine but most people use WordPress custom menus to organize pages – not the numerical page order from days of old.
Recently a client of mine wanted to display their menus in the Genesis Site Map (“archive”) that is displayed using the page_archive.php page template.
So I copied over the default page_archive.php template and modified it to get all Menus instead of Pages.
It gets all menus using wp_get_nav_menus (which unfortunately doesn’t have a WordPress codex entry) and steps through to display each using wp_nav_menu .
Get the code for menu-based Genesis page_archive.php template
You can find menu-based site map code at this link – https://gist.github.com/sunriseweb/6249242 .
Just save this in your Genesis child theme directory as page_archive.php – which the Site Map page should already be using – and it will be live.