Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Disabling buddybar on site – without disabling on blogs!


Burt Adsit
Participant

@burtadsit

I don’t really understand when you want to disable the adminbar but this is a fairly easy thing. See: https://buddypress.org/forums/topic.php?id=1115 for the general idea.

You don’t want it on the root blog but you do want it on the subdomain blogs? You’ll have to wrap that in some blog detection code then. Disable it when global $current_blog->id is anything but 1.

Skip to toolbar