Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to remove the admin bar from blogs

  • @maburker

    Participant

    Hello,

    How do you remove the admin bar from the blogs that users create. I have read everything that I could find and no luck. I can’t seem to find the proper finctions to edit. The admin bar messes up the css design for the blogs. If any would could help that would be great. Oh, I don’t want to remove it completely just from the users blogs.

Viewing 2 replies - 1 through 2 (of 2 total)
  • @apeatling

    Keymaster

    You can turn it off completely with:

    define( "BP_DISABLE_ADMIN_BAR', true );

    in your wp-config.php.

    @xevo

    Participant

    Isn’t it possible to just do an is_ function and check on what page you are on? And if your on a blog of someone, define bp_disable_admin_bar?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to remove the admin bar from blogs’ is closed to new replies.
Skip to toolbar