Hide Admin Bar Based on User Roles – Disable the WordPress Toolbar by Role or Capability
View on WordPress.orgScores higher than 68% of indexed plugins
About
Hide the WordPress admin bar for specific user roles or capabilities. Remove the toolbar for subscribers, customers & guests.
Security History
What It Does
Hide Admin Bar Based on User Roles gives you granular control over the WordPress admin toolbar, letting you hide it based on user roles, capabilities, devices, pages, or time windows. It is far more flexible than WordPress's built-in profile setting, which only toggles the bar per user. For sites with mixed audiences, it ensures subscribers, students, or clients see a clean frontend without the backend chrome.
Who It's For
This plugin is built for membership sites, LMS platforms, client portals, and any WordPress installation where different user types need different frontend experiences. If you run a site where contributors, customers, or members should never see the black admin bar at the top, the rule-based approach saves you from editing individual user profiles. It also suits multi-author blogs and corporate intranets where role-specific behaviour matters.
Who Should Skip It
If you run a simple blog or a site where you alone are the only logged-in user, the native WordPress profile checkbox is all you need. Developers comfortable writing a small mu-plugin or theme function to suppress show_admin_bar will not get enough value here to justify another plugin.
The Bottom Line
This plugin does one thing and does it well, offering rule-based admin bar control that goes beyond WordPress's default per-user toggle. The 20,000 installs and 78 rating show real-world traction, while the zero support threads leave a small question mark for users who may need help. For membership or LMS sites where you need different toolbar behaviour for different roles, devices, or pages, it is a strong pick; otherwise, the built-in profile setting will suffice.
Related Plugins
Pick this if you are a developer who needs to identify which template file is rendering the current page rather than controlling the admin bar.
Choose this when your problem is broader role and capability management and admin bar hiding is just one of many permissions you need to fine-tune.
Opt for this lightweight template debugging tool if you only need a quick way to see template file names in the admin bar.
Select this when you need full access governance including menus, REST routes, and content restrictions beyond just hiding the toolbar.
Pick this if you build with the Bricks theme and want an integrated navigator that includes admin bar controls tailored to that builder.