• Resolved Andrew Ryno

    (@andrewryno)


    Working on a site and trying to switch the theme to use the new menu system.

    Added add_theme_support('menus'); to functions.php and then also registered a sidebar to use via register_nav_menus(). However, whenever I go to /nav-menus.php in the admin backend, no menus are showing up.

    I go to add one (type in new name and then hit “Create Menu”), and then nothing shows up. Example: https://i.imgur.com/bVM3D.png

    You can see that it says that it was created successfully, however no new tab for it shows up, and it’s name appears no where. I can delete it, but I can’t add links to it. I checked in the database and it adds the taxonomy, but that’s all it seems to do. Nothing shows up like it should.

    Any help is appreciated. Can provide DB logs of the taxonomy or anything if required.

    Thanks,
    Andrew

Viewing 2 replies - 1 through 2 (of 2 total)
  • Added add_theme_support(‘menus’);

    Remove it. It’s not needed when using register_nav_menus().

    Do you have something like:

    function bitesize_register_theme_menus() {
    	register_nav_menu( 'top', __( 'Top' ) );
    
    }

    in functions.php?

    Thread Starter Andrew Ryno

    (@andrewryno)

    Yeah I had that added (register_nav_menu).

    I’m not sure what the problem was. I think it had to do the relationships table. It was a pretty screwed up install. I just made a new install, imported some of the old posts and everything, and now it’s working fine.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Navigation Menu using WP3 Menus not working’ is closed to new replies.