Skip to:
Content
Pages
Categories
Search
Top
Bottom

hide bp toolbar


  • Stacy (non coder)
    Participant

    @functionmunchkin

    I don;t want it shown on some blogs or during building phase whilst other blogs are already public.

    Tried the global hide toolbar plugin but bp still shows. Any plugins to hide bp in the navi bar specifically?

Viewing 2 replies - 1 through 2 (of 2 total)

  • dwsowash
    Participant

    @dwsowash

    This in you function php hides it from everyone but admins

    //Removes BuddyBar from non-admins only
    function splen_remove_admin_bar() {
    	if( !is_super_admin() ) 
    		add_filter( 'show_admin_bar', '__return_false' );
    }
    add_action('wp', 'splen_remove_admin_bar');
    

    Is that what you mean?


    Stacy (non coder)
    Participant

    @functionmunchkin

    Preferred not to hack each site’s theme or the bp plugin.

    https://wordpress.org/plugins/admin-bar-disabler/

    Removes the bp section as well. Can set by role or capability

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘hide bp toolbar’ is closed to new replies.
Skip to toolbar