Informations
This code define the navigations menus. This code must be in functions.php.
Code
register_nav_menus([
‘main-navigation’ => ‘Main navigation’,
‘social-networks’ => ‘Social networks’,
‘footer-legal’ => ‘Legal links’
]);
Contribute to this page
register_nav_menus([
'main-navigation' => 'Main navigation',
'social-networks' => 'Social networks',
'footer-legal' => 'Legal links'
]);