Disable the admin bar sitewide

There’s a new admin bar in the 2.7 version of WPMU. It has settings so users can see it on the front side if logged in, and a wonky bit to switch between blogs that may have a few bugs.

If you don’t like it, don’t have use for it, whatever your reasons, here’s how to disable it.

Remember how in the last post I also said the new wp-config-sample.php had some goodies in? Yeah, let’s go there. Look for these lines

// Uncomment to disable the site admin bar
//define( ‘NOADMINBAR’, 1 );

If you just installed a fresh copy of 2.7, and didn’t upgrade, you’ll find these in wp-config.php when you’re up and running.
If you did upgrade, double-check the config-sample and make sure you copy these lines over to your existing wp-config file.

Now, uncomment the second line. (How do I do that, Andrea?) easy, see those // in front of the word “define”? Remove them. That’s it.

[Post to Twitter] Tweet This Post 


bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark
tabs-top  banner ad


5 Responses to “Disable the admin bar sitewide”

  1. Birman says:

    OK – I did this and it works as described :-) However as soon as it was gone I realised that it was it’s SIZE that was the problem – so I will try out the “shrink” Plugin that’s in the Library.

  2. ridha says:

    wow.. thats great.. very helpfull.. thank you so much

  3. knoffer says:

    does anybody know, how to disable it to specific blogs only (eg home theme)

  4. Andrea says:

    There’s an options under the Settings menu in each blog.

  5. kristarella says:

    Yeah, you could turn it off in the settings, but what a pain when you don’t want it on any site.

    Thanks for this! Will save me a bit of time.
    [rq=,,][/rq]

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-Spam Image