WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Hide Admin Bar from Non-Admins

The WordPress admin bar will be hidden for all non-admin users.

Perfect for sites where there is only one admin who needs access to the dashboard and the admin bar.

When activated only administrators will see the admin bar.

This plugin is just a few lines of code. Specifically the line if(!current_user_can('administrator')) determines who the admin bar is hidden for. Feel free to edit this to your needs. E.g. using

if(!current_user_can('edit_posts'))

will allow authors to view the admin bar as well.

This plugin has no settings and will not be updated often, so feel free to edit to your needs.

Requires: 3.1 or higher
Compatible up to: 3.5.2
Last Updated: 2013-6-20
Downloads: 18,366

Ratings

4 stars
4.3 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1