Plugging in custom menu into template file
-
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!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Plugging in custom menu into template file’ is closed to new replies.