How to remove WordPress 3.1 admin bar
Paste the following piece of code into your functions.php file, save it and goodbye admin bar.
wp_deregister_script('admin-bar'); wp_deregister_style('admin-bar'); remove_action('wp_footer','wp_admin_bar_render',1000);
Thanks to Specky Boy for the tip!
Looking for WordPress hosting? Try WP Web Host. Prices starts at $5/month and you can try it for free!
This entry was posted on Monday, March 28th, 2011 at 7:25 pm and is filed under Wordpress. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site. You can skip to the end and leave a response. Pinging is currently not allowed.