Posted By

alp on 04/03/11


Tagged

wordpress theming


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

mfgalex


How to remove WordPress 3.1 admin bar


 / Published in: PHP
 

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

place snippet in functions.php

  1. wp_deregister_script('admin-bar');
  2. wp_deregister_style('admin-bar');
  3. remove_action('wp_footer','wp_admin_bar_render',1000);

Report this snippet  

You need to login to post a comment.