Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How do I edit the BuddyPress Menu


bennettberlin
Participant

@bennettberlin

I already had the beginnings of a Thematic/BP theme when I decided to use the BuddyPress default template instead. I had already set up a few pages and posts.

I want to place the BuddyPress menu on the top Admin Bar and my normal WordPress pages as a menu in the header.

For the Admin Bar I tried the code Peter Anselmo posted, but it places ONLY my WP menu in the Admin Bar, but not my BuddyPress menu, as desired. How do I “filter in” only the BP menu?

function mytheme_add_top_pages() {
wp_list_pages( 'title_li=&depth=1');
}
add_action('bp_adminbar_menus','mytheme_add_top_pages');

For the Header, line 85 of bp-default/header.php produces a menu that includes BOTH my WP and BP items. If I comment out this line, I get ONLY the BP menu, but not my WP menu, as desired. How do I “filter in” the WP menu?

How can I get this to work?

Thanks in advance,

PB

Skip to toolbar