Is there a way of enabling the BuddyBar ONLY on the main site and disable for the sub-sites?

Home Support Forums BuddyBoss 2.0 Is there a way of enabling the BuddyBar ONLY on the main site and disable for the sub-sites?

This topic contains 3 replies, has 3 voices, and was last updated by Profile photo of Fritz Fritz 3 years, 1 month ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6460
    Profile photo of Donald McIntyre
    Donald McIntyre
    Participant

    Now I have the BuddyBar disabled for the whole network using the “define ( ‘BP_DISABLE_ADMIN_BAR’, true );” code on the wp-config.php file.

    Is there a way of enabling it ONLY for the main site (site ID 1)?

    Thx, Donald.

    #10009

    @donmcint you can use something similar to:
    [css].page #wp-admin-bar ul {display:none;}[/css]
    you can change .page to whichever variable you want based on where you want it to show up and not. Use view source to find out which CSS you want it to be

    #10010
    Profile photo of Donald McIntyre
    Donald McIntyre
    Participant

    Thx!!

    #10011
    Profile photo of Fritz
    Fritz
    Participant

    That is Awesome, I was going to ask the same thing!!!

Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘BuddyBoss 2.0’ is closed to new topics and replies.