Written on September 15, 2012 at 06:09 pm by admin

Disabling Admin Menu Bar

Its usually annoying that the theme displays so called WordPress Admin Bar on the theme when you never wanted to. In several cases, it just disrupts the theme layout. Mostly when you are a freelancer like me and your client asks “Why isn’t the body background irregular with the header image”, and you will have no option but to call them and ask them to view the website using different browser or device without logging in as admin.

But, it still not late and you can remove them with just few lines of code on your functions.php file.

Add:

But if you are using wordpress 3.3+, then you can get that option easily by editing your profile via User>Your Profile Β and un-tick “Display Toolbar when viewing website” (Though this isn’t always possible)

Its always a good idea to not to let the annoying admin-bar appear if that’s going to ruin your whole day of work.

I will soon post on how to disable admin-bar on wp-admin too.. that may be helpful.