Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

  • @mrsalty

    Participant

    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)
  • @djpaul

    Keymaster

    Do you mean like nested Pages in the main nav? If so, not by default.

    @mrsalty

    Participant

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

    @djpaul

    Keymaster

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

    @mrsalty

    Participant

    @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…

    @djpaul

    Keymaster

    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.

    @mrsalty

    Participant

    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/

    @mrsalty

    Participant

    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.

    @jmbullis

    Member

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

    @jmbullis

    Member

    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.

    @mrsalty

    Participant

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

    @mrsalty

    Participant

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

    @mrsalty

    Participant

    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?

    @djpaul

    Keymaster

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

    @djpaul

    Keymaster

    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)
  • The topic ‘Should default BuddyPress show subnav menu items? Not seeing them…’ is closed to new replies.
Skip to toolbar