Forums
Forums / Themes and Templates / Custom menu in page template
(@brownday)
12 years, 12 months ago
Hi there,
I’m wonder if there is a way to change which menu is used for a page template.
Right now, my header.php file has this code:
<nav> <?php wp_nav_menu( array('theme_location' => 'main_menu', 'menu_class' => 'menu'));?> </nav>
This is the default menu and was wondering if I could create a custom menu and change this code to reflect a custom menu.
Thanks!
The topic ‘Custom menu in page template’ is closed to new replies.