Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: navigation bar in BuddyPress in BBPress

Ok..thanks…well, this is what I did, but it doesn’t work. I followed the advice given in the link above:

1. Created a function called functions.php inside my template folder (bb-templates/kakumei/functions.php) and put in it the code:

function recreate_bb_admin_bar() {

echo ‘<div id=”wp-admin-bar”><ul class=”main-nav”>’;

bp_adminbar_logo();

bp_adminbar_login_menu();

bp_adminbar_account_menu();

bp_adminbar_blogs_menu();

bp_adminbar_notifications_menu();

bp_adminbar_authors_menu();

bp_adminbar_random_menu();

echo ‘</div>’;

}

add_action( ‘wp_footer’, ‘recreate_bb_admin_bar’, 8 );

add_action( ‘admin_footer’, ‘recreate_bb_admin_bar’ );

add_action( ‘wp_head’, ‘bp_core_admin_bar_css’, 1 );

2. Added to my bb-config.php file, this line

require_once(‘../wp-blog-header.php’);

Am I still missing something? Thanks

Skip to toolbar