Howto use wp_nav_menu ?
-
Hello,
I am trying to use the wp_nav_menu for a new theme but can’t get a clue on how it works.
My menu should be something like :
- MENU1
- submenu1.1
- submenu1.2
- MENU2
- submenu2.1
- submenu2.2
I have activated it in the functions.php :
add_theme_support( 'nav-menus' );
I then put
<?php wp_nav_menu(); ?>
in my header.php.So far I just have :
- submenu1.1
- submenu1.2
How to use this function ?
Best regards,
arnaud.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Howto use wp_nav_menu ?’ is closed to new replies.