[ad_1]
Having some trouble coding seperate nav menus. When I edit one, it applys the changes to all 3 menus. I am using the following code (and yes I double checked that the locations are all correct):
`register_nav_menus(`
`array(`
`’navbar’ => ‘Navbar Location’,`
`)`
`);`
`function register_additional_nav_menus() {`
`register_nav_menu(‘footer-hero’, ‘Footer Hero’);`
`register_nav_menu(‘footer-sub’, ‘Footer Sub’);`
`}`
`add_action(‘after_setup_theme’, ‘register_additional_nav_menus’);`
Any help on why they all display the same links when I change one? Thanks.
[ad_2]