Informations
This code generate the navigation that are in the defined location specified in ‘theme_location’.
Code
<?php
wp_nav_menu(array(
‘theme_location’ => ‘main-navigation’,
‘container’ => ‘nav’,
‘container_class’ => ‘nav’,
‘menu_class’ => ‘nav’
));
?>
Contribute to this page
'main-navigation',
'container' => 'nav',
'container_class' => 'nav',
'menu_class' => 'nav'
));
?>