Here is a variation of some code I found on Yoast.com to disable the WP admin bar for non-admins only.

function yoast_hide_admin_bar_settings() 
{
?>
	

Just copy and paste this code into your functions.php or another plugin/theme file that can add hooks. Save/upload and watch it work.

Let me know if you have any trouble using this.

3 Responses to “Disable the WordPress Admin Bar for Non-Admins Only”

  1. Caps says:

    That worked fine on my Headway theme. Thank you for your assistance.

    • Stephen says:

      Not working for me on version 3.3.1 with default theme. Odd!

    • jason says:

      Which theme do you mean by “default”? Twenty Ten?, Twenty Eleven? Admins will still see the bar. Make sure your user is a non-admin.

      Otherwise, I’m not sure what’s going on there.

* Required
* Required, Private