Hide Admin Bar Based on User Roles – Disable the WordPress Toolbar by Role or Capability
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 capabiliti
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. 🙂 – wptoolsdev
Works flawlessly! 🙂 – thebrazeneye
Why hide the WordPress admin bar?
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:
- Membership sites – give members a clean, frontend-only experience with no WordPress branding
- WooCommerce stores – stop showing the toolbar to customers after they log in
- LMS & course platforms – keep students focused on your content, not the WordPress UI
- Client websites – hand over polished sites where editors see only what they need
- Communities & directories – hide backend access hints from registered users
- Anyone who wants a cleaner frontend – remove the admin bar without touching functions.php
Features
- Hide for everyone: remove the admin bar from the front end for every logged-in user.
- Hide for logged-out visitors: make sure visitors never see it, even when a plugin such as BuddyPress shows it to them.
- Hide by role: pick roles such as Subscriber, Customer or Editor, including custom roles from other plugins.
- Hide by capability: hide it for anyone who has a capability, for example edit_posts .