Remove Admin Bar WordPress 3.1

WordPress 3.1 comes out with a new function called Admin Bar. This bar is added to your site (both on the dashboard and the site itself) if you’re logged in. Want to remove it? That’s quite easy, just read on

Simply paste the following line of code on your functions.php file:
remove_action('init', 'wp_admin_bar_init');

Comments

Popular posts from this blog

Set limit wp_nav_menu

JavaScript calculate percentage when user scroll web page

Calculate percentage of a specific element has been scrolled into visible on the screen