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?
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.
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
switching to twentyeleven worked
Then you have a "bad"/incompatible theme.
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
Did you remember to register your nav menu locations in functions.php?
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');
Assuming that's within your theme's functions.php file, it should work, yes.