How to hide “admin bar” in WordPress 3.1

February 27th, 2011 |

A couple of days, as released WordPress 3.1. One of the innovations – “admin bar”.

WordPress 3.1 - "admin bar"

In general, it is convenient, but if you suddenly need to turn it off, it’s simple. There are two ways.

1. You can disable admin-bar in the your profile:

WordPress 3.1 - Personal Options

2. Also you can use function show_admin_bar:

<?php
show_admin_bar(false);
?>

There are no comments yet

Leave a Reply

Your email address will not be published. Required fields are marked *

*