WordPress.org

Support

Support » Alpha/Beta » 3.0 Alpha, menu not working suddenly?

3.0 Alpha, menu not working suddenly?

  • Hey all,

    I’ve been working with the 3.0 alpha since day one. After yesterdays update, my menu isn’t working anymore. In the backend I get the following error in the menu options:

    “The current theme does not natively support menus, but you can use the “Navigation Menu” widget to add any menus you create here to the theme’s sidebar.”

    Anyone know what happend with the last update? How can I change it back or improve the menu so it will work?

    Kind regards,
    Robin

Viewing 15 replies - 1 through 15 (of 18 total)
  • Works okay using the build from last night (late March 30/early March 31) using the TwentyTen theme.

    What theme and plugins do you have installed?

    Note: Moved this thread to the Alpha/Beta Forum

    Ah thanks micheal,

    I’m using my own theme. Got the code from header.php form TwentyTen. Do I need to copy things from the function.php to add the support in the admin panel?

    Thanks in advance.

    That sounds good 😉 but not sure of that — things have been changing in regards to menus and the TwentyTen theme so you might want to look back at what’s changed in that theme.

    I will have a look at it some other time. Im more curious if other people will have this problem aswell. For now, im using the pixopoint menu addon again, easy setup and CSS is easy to edit.

    Hi everyone,

    Do you know how to enable menus in a theme that is not TwentyTen ? Can’t find anywhere a solution to my problem ! 😉

    Thanks !

    I believe it is this in your theme’s functions.php

    add_theme_support( 'nav-menus' );

    then something like this in your theme header:

    <?php wp_nav_menu( array( 'sort_column' => 'menu_order', 'container_class' => 'menu-header' ) ); ?>

    @robinvd – make sure your theme has the add_theme_support( 'nav-menus' ); in the functions.php.

    I saw the message you reported when I had a menu defined but switched to a theme that did have nav-menus support.

    @michaelh

    I’ve added the add_theme_support( 'nav-menus' ); in functions.php. it doesn’t give any errors when loading up, only in the backend I will still get the error.

    Also, now where talking about functions.php, I know this file is really cool, if you know how to use it..

    Problem is: I don’t. My PHP experience is basic, and can’t find some nice examples for it. Anyone know a good source where to check?

    Kind regards,

    Well the new twentyten theme is a good place to look.

    As I was having trouble ordering my menu which was a mix of categories and pages, I decided to try out the new menu system in 3.0 and with Michael’s code above, it works perfectly. Just have to reapply my styles now.

    Cheers,
    Christopher

    Adding another report to this thread, I have a custom built theme (modded from TwentyTen, of course) on 3.0 RC2 that has working custom menus. When migrating the project to a new server with 3.0 RC3 the menus just stopped working.

    oldserver.com/wp-admin/nav-menus.php works great (3.0 RC2)

    newserver.com/wp-admin/nav-menus.php now reports, “Your theme does not support navigation menus or widgets.” (3.0 RC3)

    Could this have anything to do with PHP include paths, permissions, or anything else a different server environment might introduce?

    Well lookie there: http://core.trac.wordpress.org/changeset/15193 it appears that in RC3

    add_theme_support( 'nav-menus' );

    …has changed to…

    add_theme_support( 'menus' );

    I feel rather silly now, but I hope this helps someone else. Enjoy!

    clippingdesign

    @clippingdesign

    Code “add_theme_support( ‘menus’ );” showing in my blog comment portion. Anybody know how to solve this issue.
    Please check the following link comment portion:

    http://clippingdesign.com/blog/realistic-tear-view-using-photoshop/

    Well lookie there: http://core.trac.wordpress.org/changeset/15193 it appears that in RC3

    add_theme_support( ‘nav-menus’ );

    …has changed to…

    add_theme_support( ‘menus’ );

    I feel rather silly now, but I hope this helps someone else. Enjoy!

    Exactly… Simply Super Genius… Guys with error of sudden menu working stopped this fixes it…

    Hi My menus have stopped working .

    I’ve very limited knowledge of php . But I can easily edit them with notepad+ and ftp them back to the hosting space.

    Which php file or files does this code go into and where abouts in the file . Need to get my menus going again.

    Thanks in advance

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘3.0 Alpha, menu not working suddenly?’ is closed to new replies.