WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Navigation Menu using WP3 Menus not working (3 posts)

  1. Andrew Ryno
    Member
    Posted 3 years ago #

    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: http://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

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    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?

  3. Andrew Ryno
    Member
    Posted 3 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.