Support » Networking WordPress » register_nav_menus only showing on main site

  • Hi,

    I have Multisite set up on a new build, with 4 websites which are all using the same theme.

    In the functions.php file I have nav menus registered with the following code:

    function register_menus() {
    register_nav_menus(
    array(
    ‘main1’ => __(‘Main 1’),
    ‘main2’ => __(‘Main 2’)
    )
    );
    }
    add_action(‘init’, ‘register_menus’);

    I have added menus via WordPress appearance settings for the main root website fine, but on any of the other sites the Menu Locations aren’t showing up and when I go to create a new menu it just refreshes the page without creating anything.

    Any ideas?

    Thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.