WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Upgrade to 3.3.1 - lost menu panel in admin (8 posts)

  1. cmegown
    Member
    Posted 2 years ago #

    I upgraded to 3.3.1 a few hours ago, and while working on my theme, noticed the "menu" panel under "appearance" is gone. I've tried recoding the "add_theme_support('menus')" in my functions.php as well as the "wp_nav_menu(...)" in my header.php.

    Not sure what to do here, anyone else had this happen to them?

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Have you tried:

    - deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the Twenty Eleven theme to rule out any theme-specific problems.

    - resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    - re-uploading the wp-admin and wp-includes folders from a fresh download of WordPress.

  3. cmegown
    Member
    Posted 2 years ago #

    none of the above solved the problem, i'm really stumped on this one

    also, it's def. a theme problem, because switching to twentyeleven worked

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    switching to twentyeleven worked

    Then you have a "bad"/incompatible theme.

  5. cmegown
    Member
    Posted 2 years ago #

    i've been building this theme for a week or so now, and it was working this morning.

    i noticed the missing panel post-upgrade

    am i have a hippy-staring-at-their-hands moment here? as far as i know, you really only need to add_theme_support('menus'); and wp_nav_menu(); correct?

    it's just really weird because the menu IS working, the panel just isn't showing

  6. esmi
    Forum Moderator
    Posted 2 years ago #

    Did you remember to register your nav menu locations in functions.php?

  7. cmegown
    Member
    Posted 2 years ago #

    hmm, i don't remember doing it but my register_nav_menu was put into a custom function.

    on an off-topic note: shouldn't this work?

    function mytheme_register_menus() {
        register_nav_menu('header', 'header-menu');
    }
    add_action('init', 'mytheme_register_menus');
  8. esmi
    Forum Moderator
    Posted 2 years ago #

    Assuming that's within your theme's functions.php file, it should work, yes.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.