February 8, 2012

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.

Get 3 for the price of 2 in the Network Home Bundle

Includes 3 ebooks with plugins -
Network Home Pages: aggregate global content, set up sitewide tags, create a huge tags cloud like the one seen on WordPress.com, global footers and menus, setting defaults & more
Custom Registration: sign up on sub sites, multilingual signup pages, stop spam blogs
WP Curator: pick and choose posts from sub sites to feature on the main home page of your network

Network Home Pages, Custom Registration & WP Curator – $35.90 for all three. Purchase

Comments

  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]