How to remove WordPress 3.1 admin bar


/ Published in: PHP
Save to your folder(s)

place snippet in functions.php


Copy this code and paste it in your HTML
  1. wp_deregister_script('admin-bar');
  2. wp_deregister_style('admin-bar');
  3. remove_action('wp_footer','wp_admin_bar_render',1000);

URL: http://www.wprecipes.com/how-to-remove-wordpress-3-1-admin-bar

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.