something similar. I dont want to run around and have to manually put this on all other pages, and all user pages…that could be really fun with a thousand or so members. Anyway, there has to be a simple way to add or remove something just on the main page and thats it to stop it from loading. Any ideas to simplify this?
No, you wouldn’t have to do any of that running around. If that theme is only used on that blog and you have it turned off for all other blogs except the home blog on your site, then you just have to drop this into functions.php for that theme.
remove_action( 'wp_footer', 'bp_core_admin_bar' );
remove_action( 'wp_head', 'bp_core_add_css' );
In that theme the admin bar won’t show. Ever. If you use that theme on other blogs then you’ll have to wrap those two calls in some code to detect what blog it’s running on and only make those calls on blog id 1.
You could also create a plugin that runs in /mu-plugins, use those two calls above and just detect what blog it’s running on and make the calls only for blog id 1. That might be better.
that worked, once again you are the man. thanks.
I think the thread you closed ended up being related to WP, not specifically BP, but the people on here are more responsive thann the wordpress.org board. It looks like my background is making that line….not sure how to tweak the .css to make it work right.
realfam, bp covers wpmu, bbpress and bp itself. We try to address all three environments simply because we *have to* to get bp running. That thread was a little off topic for the forums. Even though it did relate to wpmu sorta, kinda.
Then again I just get cranky at times.
this no longer works…..what changed in BPB2???