Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

Support: Creating & Extending

Existing and new plugins/components and themes.

BuddyPress theme with WP 3.0 menu (4 posts)

Started 1 year, 10 months ago by: shawndibble

  • I would like to implement the new menu creation into the BuddyPress theme. Same styling and all, just make it easier for me to add in new links. Is there an easy way to do this?

  • Profile picture of LPH2005 LPH2005 said 1 year, 10 months ago:

    Others may have better suggestions but I tend to create a child-theme and edit header.php so that the navigation is as desired ..

    Maybe this document is helpful:

    http://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/

  • Profile picture of @mercime @mercime said 1 year, 10 months ago:

    As @LPH2005 mentioned above, create a child theme if you haven’t had already. Note that you must be using WP 3.0 to make the following work:

    1. open up functions.php file and add
    add_theme_support( ‘menus’ );

    2. open up header.php, and add

    http://wordpress.pastebin.com/XbrWdhWp

    replacing BP navigation items (if you’re on BP 1.3 trunk where BP components are rendered as Pages) or after the BP navigation items (pre BP 1.3 where there is still distinction between regular Pages and BP components)

  • Profile picture of John Monkhouse John Monkhouse said 1 year, 10 months ago:

    I did that but I still cannot go to and add menus.

    What I did;

    1.open up functions.php file and add
    add_theme_support( ‘menus’ );

    2. replaced
    “ul id=”nav”
    With

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

    and I still can not add menus.
    where did I go wrong?