Skip to:
Content
Pages
Categories
Search
Top
Bottom

Should default BuddyPress show subnav menu items? Not seeing them…

  • Avatar of Mr. Salty
    Mr. Salty
    Participant

    @mrsalty

    Not sure if I ‘m missing something? Is there something I need to do to show subnav menu items? I’m using BuddyPress on standard, non-MU WP and the default buddypress theme. Thanks much for your help!

Viewing 14 replies - 1 through 14 (of 14 total)
  • Do you mean like nested Pages in the main nav? If so, not by default.

    Avatar of Mr. Salty
    Mr. Salty
    Participant

    @mrsalty

    Yeah I do. Wasn’t sure if it was default or not. Thanks Paul. Will look for ways to add it. Thanks much.

    Digging into this, we ought to create a ticket to get BP 1.3 to use wp_nav_menu()

    Avatar of Mr. Salty
    Mr. Salty
    Participant

    @mrsalty

    @Paul_Gibbs By the way – since you mentioned that function: Newbie here. Googling now. Is the wp_nav_menu() function something I can simply add to a script/template file and it will display submenus? Thanks much…

    Not necessarily, wp_nav_menu() is the function to load any WordPress menu (as introduced in 3.0). I’m not sure how to do this, I haven’t looked into it.

    Avatar of Mr. Salty
    Mr. Salty
    Participant

    @mrsalty

    Actually just saw this: seems pretty easy to implement WP3.0 menus into current WP… well, at least part of WP3.0 menu functionality perhaps. Am testing it now. Will update…

    wp_nav_menu() article:

    http://wpspecial.net/2010/04/menu-support-for-wordpress-3-0-themes/

    Avatar of Mr. Salty
    Mr. Salty
    Participant

    @mrsalty

    Actually I’m a dummy. That looks like its just a way to add wp3.0 menu support for anyone building a wp3.0 theme… I think.

    I just used it and successfully added the new menu feature to my BuddyPress installation.

    Of course this didn’t really work for the subnav. I’ll probably have to see how it was coded through Twenty Ten to see how I can make it work as a drop down.

    Avatar of Mr. Salty
    Mr. Salty
    Participant

    @mrsalty

    @jmbullis oh really? that’s great. will have to test it out.

    Avatar of Mr. Salty
    Mr. Salty
    Participant

    @mrsalty

    @jmbullis You added add_theme_support( ‘nav-menus’ ); to your theme’s functions.php and to your theme’s header.php?

    Avatar of Mr. Salty
    Mr. Salty
    Participant

    @mrsalty

    hold one – was stripped:

    @jmbullis You added add_theme_support( ‘nav-menus’ ); to your theme’s functions.php and wp_nav_menu( ‘sort_column=menu_order&container_class=navigation’ ); to your theme’s header.php?

    If you can conjure it up or even do a patch, I could see it getting into BP 1.3.

    Oh, it’s not too hard actually. Add the wp_nav_menu call, and then the “Menu” styles from TwentyTen – i.e. the #access stuff.

Viewing 14 replies - 1 through 14 (of 14 total)

You must be logged in to reply to this topic.