I’ve created a page template for a new section for a client’s site but want to also have a different menu. For the new page template I just copied page.php and renamed it then will style that, but how do I change the menu it uses?
Is this something you could do a tutorial for?
Thank you
wp_nav_menu_args filter can be used to conditionally change the menu assigned to primary (renamed as Header Menu in Genesis Sample) theme location.
Here's a sample custom Page template file having the code:
I am an independent WordPress web consultant with 10 years of experience in WordPress theme installation, customization, administration, maintenance, support, documentation, troubleshooting and PSD/design to WP.
Session expired
Please log in again.
The login page will open in a new tab. After logging in you can close it and return to this page.