20,000+
October 12, 2026
July 16, 2018
Hide Admin Bar Based on User Roles lets you choose who sees the WordPress admin bar (the toolbar) on the front end of your site, and who can open the dashboard.
Remove the admin bar for subscribers, hide it from WooCommerce customers, turn it off for everyone, or target specific roles and capabilities. You can also keep chosen roles out of wp-admin, send each role to its own page after logging in, and tidy the admin menu, admin bar, notices and dashboard widgets for each role. All from one settings page, without writing code.
The plugin is lightweight and works as soon as you activate it. Trusted on 20,000+ active WordPress sites.
It’s completely free: no Pro version, no locked features, no upsells.
Simple but great plugin. 🙂
– wptoolsdevWorks flawlessly! 🙂
– thebrazeneye
The black toolbar at the top of your site is useful for admins — but for everyone else it exposes backend links, breaks your design, and confuses non-technical users. Hiding it is essential for:
edit_posts.Optional extras, each off until you switch it on:
Give each role a tidier dashboard. Also off until you switch it on:
Hide Admin Bar Based on User Roles works with any theme and any plugin that registers user roles — including WooCommerce (Customer role), membership plugins, LMS plugins, and custom roles. Fully compatible with Elementor, Divi, Beaver Builder, Bricks, and WordPress Multisite.
/wp-content/plugins/.Go to Settings Hide Admin Bar Settings and turn on “Hide for everyone”. The admin bar disappears from the front end for every logged-in user, administrators included.
Under “Hide for these roles”, select Subscriber or Customer and save. Administrators and any roles you leave unselected keep the admin bar. Custom roles from membership, LMS and other plugins appear in the list too.
Add a capability, such as edit_posts, and anyone who has it won’t see the admin bar. This helps when a membership or LMS plugin grants capabilities rather than roles.
Yes — that’s exactly what this plugin does. Instead of adding show_admin_bar snippets to functions.php (which are lost when you switch themes), you get a settings page with role, capability and guest rules.
Only if you choose to. Administrators keep the admin bar unless you turn on “Hide for everyone”, select the Administrator role, or add a capability they have.
The main rules control the admin bar on the front end of your site. To hide it inside the dashboard as well, go to the Dashboard & login tab, turn on “Hide it in the dashboard” and pick the roles. On phones and small tablets the admin bar stays, because it holds the button that opens the WordPress menu.
Yes. On the Dashboard & login tab, turn on “Block the dashboard”, pick the roles and, if you like, the page to send them to. Roles that can manage the site, such as Administrator, can’t be blocked. You can still let blocked users edit their profile.
Yes. On the Dashboard & login tab, turn on “Redirect after login” and enter a page for each role. It works with the WordPress login form. Login links that ask for a specific page, such as “Log in to comment”, still go to that page.
Some plugins, such as BuddyPress, wpForo or WC Vendors, turn the admin bar back on. Go to the Compatibility tab and turn on Strict mode. It applies your admin bar rules once more, after every other plugin.
Yes. On the Admin cleanup tab, turn on “Hide admin menu items” and tick the items to hide in each role’s column. Hiding a menu tidies it but doesn’t lock the screen; to keep a role out of wp-admin altogether, use Dashboard access. The Settings menu always stays, so you can get back to these settings.
Yes. On the Admin cleanup tab, turn on “Remove admin bar items” and, in each role’s column, tick items such as the WordPress logo, Comments or + New. It applies on your site and in the dashboard.
Yes. On the Admin cleanup tab, turn on “Hide admin notices” and pick the roles. It hides every notice for those roles, including update reminders, so keep it off for the people who look after the site.
On the Dashboard & login tab, turn on “Allow switching to users”. Then, on the Users screen, click the “Switch to” button next to a user. A bar at the bottom of the screen shows who you’re viewing as, with a link to switch back.
Add define( 'HAB_DISABLE_MODULES', true ); to wp-config.php. It switches off everything on the Dashboard & login, Admin cleanup and Compatibility tabs and keeps your settings. Your admin bar rules keep working. Remove the line once you’ve fixed the settings.
No. It adds no CSS or JavaScript to the front end, and the visibility check runs once per page, before the page is built.
Yes. It works with any theme and with page builders such as Elementor, Divi, Beaver Builder and Bricks.
Yes. The plugin supports WordPress Multisite networks.
No. Hide Admin Bar is completely free, with no locked features and no upsells.
Fixed some bugs and improvements.
Fixed some bugs and improvements.
Compatibility tested & Tested with the latest WordPress version.
Compatibility tested & Tested with the latest WordPress version.
Compatibility tested & Tested with the latest WordPress version.
Compatibility tested & Tested with the latest WordPress version.
Compatibility tested & Tested with the latest WordPress version.
Compatibility tested & Tested with the latest WordPress version.
Compatibility tested & Tested with the latest WordPress version.
Compatibility tested & Tested with the latest WordPress version & UltimaKit For WP support added.
Compatibility tested & Tested with the latest WordPress version.
Compatibility tested & Tested with the latest WordPress version.
Compatibility tested & Tested with the latest WordPress version.
Compatibility tested & Tested with the latest WordPress version.
Compatibility tested & Tested with the latest WordPress version.
Compatibility tested & Tested with the latest WordPress version.
Compatibility tested & Tested with the latest WordPress version.
Compatibility tested & Tested with the latest WordPress version.
Compatibility tested & Tested with the latest WordPress version.
Compatibility tested & Tested with the latest WordPress version.
Security Fixes and Improvements.
Security Fixes and Improvements.
Security Fixes and Improvements.
Security Fixes and Improvements.
Security Fixes and Improvements and multisite support reverted.
Security Fixes and Improvements and multisite support added.
Security Fixes and Improvements.
Security Fixes and Improvements.
Security Fixes and Improvements.
Improvements & Fixes
Improvements & Fixes
Improvements & Fixes
Improvements
Improvements
Improvements
Improvements
Improvements
Improvements
Bug Fixes & Improvements
Bug Fixes & Improvements
Bug Fixes & Improvements
Bug Fixes & Improvements
Bug Fixes & Improvements
Bug Fixes & Improvements
Code Improvements, GUI Updated, New Feature Integration.
Code Improvements, GUI Updated.
Fixed some bugs and improvements and new feature added -> Hide admin bar for all guest users.
Fixed some bugs and improvements.
First release
| Version | Download | Type |
|---|---|---|
| 7.5.0 | Download | Stable |
| 7.3.0 | Download | Stable |
| 7.2.5 | Download | Stable |
| 7.2.4 | Download | Stable |
| 7.2.3 | Download | Stable |
| 7.2.2 | Download | Stable |
| 7.2.1 | Download | Stable |
| 7.2.0 | Download | Stable |
| 7.1.0 | Download | Stable |
| 7.0.3 | Download | Stable |
| 7.0.2 | Download | Stable |
| 7.0.1 | Download | Stable |
| 6.0.5 | Download | Stable |
| 6.0.4 | Download | Stable |
| 6.0.3 | Download | Stable |
| 6.0.2 | Download | Stable |
| 6.0.0 | Download | Stable |
| 5.2.1 | Download | Stable |
| 5.2.0 | Download | Stable |
| 5.0.0 | Download | Stable |
| 4.1.0 | Download | Stable |
| 4.0.0 | Download | Stable |
| 3.9.3 | Download | Stable |
| 3.9.1 | Download | Stable |
| 3.9.0 | Download | Stable |
| 3.8.3 | Download | Stable |
| 3.8.2 | Download | Stable |
| 3.8.1 | Download | Stable |
| 3.8.0 | Download | Stable |
| 3.7.2 | Download | Stable |
| 3.7.1 | Download | Stable |
| 3.7.0 | Download | Stable |
| 3.6.2 | Download | Stable |
| 3.6.1 | Download | Stable |
| 3.6.0 | Download | Stable |
| 3.5.6 | Download | Stable |
| 3.5.5 | Download | Stable |
| 3.5.4 | Download | Stable |
| 3.5.3 | Download | Stable |
| 3.5.2 | Download | Stable |
| 3.5.1 | Download | Stable |
| 3.5.0 | Download | Stable |
| 3.4.1 | Download | Stable |
| 3.4 | Download | Stable |
| 3.3 | Download | Stable |
| 3.2 | Download | Stable |
| 3.1 | Download | Stable |
| 3.0 | Download | Stable |
| 2.9 | Download | Stable |
| 2.8 | Download | Stable |
| 2.7 | Download | Stable |
| 2.6 | Download | Stable |
| 2.5 | Download | Stable |
| 2.4 | Download | Stable |
| 2.3 | Download | Stable |
| 2.2 | Download | Stable |
| 2.1 | Download | Stable |
| 2.0 | Download | Stable |
| 1.8 | Download | Stable |
| 1.7 | Download | Stable |
| 1.6 | Download | Stable |
| 1.5 | Download | Stable |
| 1.4 | Download | Stable |
| 1.3 | Download | Stable |
| 1.2 | Download | Stable |
| 1.1 | Download | Stable |
| 1.0 | Download | Stable |
| Development | Download | Trunk |