its a scrambled looking BuddyPress Bar. I do not want this on my pages, except on the actual USER Profile Page (Member-theme). How do I kill the bar? Its showing up on all pages when logged in.
remove_action( ‘wp_footer’, ‘bp_core_admin_bar’ );
i actually have that in my functions.php file in the theme I am using…. It is not working.
I have this code added to be exact:
remove_action( ‘wp_footer’, ‘bp_core_admin_bar’ );
remove_action( ‘wp_head’, ‘bp_core_add_css’ );
the plot thickens…..
I moved this remove_function to the very bottom of functions.php thinking that might help…and it removed the admin bar from the bottom of the footer…..
HOWEVER….
It is now at the top of the webpage. I want it completely gone in this theme, available ONLY in the member theme.
Anyone know what I should do?
http://www.ex-brief.com
realfam, it has to be these two lines:
remove_action( ‘wp_footer’, ‘bp_core_admin_bar’, 8 );
remove_action( ‘admin_footer’, ‘bp_core_admin_bar’ );
The bp menu bar has changed since you last looked at the code. I don’t think it will work without specifying a priority with the ‘8’. I don’t know when the priority thing snuck in. Probably sometime in the past week.
I didn’t look at unhooking the css.
wow, just put that in…………. that unfortunately did not work. The Buddypress bar is still on all pages for “LOGGED IN” users. I basically NEVER want it to appear except in the actual Buddypress User Theme, not the home theme at all.
This functionality should really be built in.