Title: Hide Admin Bar Based on User Roles – Disable the WordPress Toolbar by Role or Capability
Author: Ankit Panchal
Published: <strong>16. julija 2018</strong>
Last modified: 24. septembra 2026

---

Tykače pytać

![](https://ps.w.org/hide-admin-bar-based-on-user-roles/assets/banner-772x250.png?
rev=3710950)

![](https://ps.w.org/hide-admin-bar-based-on-user-roles/assets/icon.svg?rev=3710950)

# Hide Admin Bar Based on User Roles – Disable the WordPress Toolbar by Role or Capability

 Wot [Ankit Panchal](https://profiles.wordpress.org/ankitmaru/)

[Sćahnyć](https://downloads.wordpress.org/plugin/hide-admin-bar-based-on-user-roles.7.3.0.zip)

 * [Podrobnosće](https://hsb.wordpress.org/plugins/hide-admin-bar-based-on-user-roles/#description)
 * [Pohódnoćenja](https://hsb.wordpress.org/plugins/hide-admin-bar-based-on-user-roles/#reviews)
 *  [Instalacija](https://hsb.wordpress.org/plugins/hide-admin-bar-based-on-user-roles/#installation)
 * [Wuwiće](https://hsb.wordpress.org/plugins/hide-admin-bar-based-on-user-roles/#developers)

 [Podpěra](https://wordpress.org/support/plugin/hide-admin-bar-based-on-user-roles/)

## Wopisanje

**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.

Remove it for subscribers, hide it from WooCommerce customers, turn it off for everyone,
or target specific roles and capabilities, all from one settings page and 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](https://wordpress.org/support/topic/simple-but-great-plugin-12/)
> Works flawlessly! 🙂
>  – [thebrazeneye](https://wordpress.org/support/topic/works-flawlessly-129/)

#### 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`.
 * **Nothing added to your site’s front end:** no CSS, no JavaScript, no extra database
   queries.

#### Works with your setup

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.

#### More from the makers of Hide Admin Bar

 * **[Page Visit Counter](https://pagevisitcounter.com/)** – Privacy-first analytics
   inside WordPress. See visitors and page views in your dashboard, with no cookies
   and no external scripts.
 * **[PushRow for Google Sheets](https://getpushrow.com/)** – Keep Google Sheets
   in sync with WordPress. Send posts, users, form entries and WooCommerce orders
   to any spreadsheet.
 * **[UltimaKit](https://wordpress.org/plugins/ultimakit-for-wp/)** – Admin tools,
   security and performance in one plugin.
 * **[Disable Block Editor FullScreen mode](https://wordpress.org/plugins/disable-block-editor-fullscreen-mode/)**–
   Open the block editor without fullscreen mode.
 * **[NoteFlow](https://wordpress.org/plugins/noteflow/)** – Create, organize and
   manage notes in your WordPress dashboard.
 * **[Like Dislike For WP](https://wordpress.org/plugins/like-dislike-for-wp/)**–
   Add like and dislike buttons to your posts and pages, with vote stats.

## Fota wobrazowki

[⌊Choose who doesn't see the admin bar: everyone, logged-out visitors, specific 
roles, or users with certain capabilities.⌉⌊Choose who doesn't see the admin bar:
everyone, logged-out visitors, specific roles, or users with certain capabilities
.⌉[

Choose who doesn’t see the admin bar: everyone, logged-out visitors, specific roles,
or users with certain capabilities.

[⌊“Hide for everyone” removes the admin bar for every logged-in user.⌉⌊“Hide for
everyone” removes the admin bar for every logged-in user.⌉[

“Hide for everyone” removes the admin bar for every logged-in user.

## Instalacija

 1. In your dashboard, go to **Plugins  Add New Plugin** and search for _Hide Admin
    Bar Based on User Roles_. Or upload the plugin folder to `/wp-content/plugins/`.
 2. Activate the plugin.
 3. Go to **Settings  Hide Admin Bar Settings** and choose who shouldn’t see the admin
    bar.

## HSP

### How do I hide the admin bar for all users?

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.

### How do I hide the admin bar for subscribers or WooCommerce customers only?

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.

### How does hiding by capability work?

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.

### Can I disable the WordPress admin bar without code?

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.

### Does this plugin affect administrators?

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.

### Does it hide the admin bar inside the dashboard too?

No. The plugin controls the admin bar on the front end of your site. Inside the 
dashboard, WordPress always shows it.

### Will this plugin slow down my site?

No. It adds no CSS or JavaScript to the front end, and the visibility check runs
once per page, before the page is built.

### Does it work with my theme and page builder?

Yes. It works with any theme and with page builders such as Elementor, Divi, Beaver
Builder and Bricks.

### Does it work on multisite?

Yes. The plugin supports WordPress Multisite networks.

### Is there a Pro version?

No. Hide Admin Bar is completely free, with no locked features and no upsells.

## Pohódnoćenja

![](https://secure.gravatar.com/avatar/7e7d8e92941a4599b9e8aa781b1b1c1fab3a21d934f45a404e9f659f7886c4f1?
s=60&d=retro&r=g)

### 󠀁[BEST OF THE BEST](https://wordpress.org/support/topic/best-of-the-best-239/)󠁿

 [davidraudales](https://profiles.wordpress.org/davidraudales/) 20. decembra 2025
2 replies

I LOVE IT

![](https://secure.gravatar.com/avatar/dece65cb37418b96824735125ae1f17fe06d9b0c489b0bf3da73b87761e8f285?
s=60&d=retro&r=g)

### 󠀁[Hides the admin bar even when I’m an administrator](https://wordpress.org/support/topic/hides-the-admin-bar-even-when-im-an-administrator/)󠁿

 [Norman Cates](https://profiles.wordpress.org/normancates/) 13. decembra 2023 2
replies

Hides the admin bar for Administrator role, even though I've told it to allow Administrators
to see the bar.

![](https://secure.gravatar.com/avatar/804b2bb6e605a8742d35643a2b341e7c1f59b8542033883a8a5e58c8f9e511fc?
s=60&d=retro&r=g)

### 󠀁[hide admin bar even though I’m admin](https://wordpress.org/support/topic/hide-admin-bar-even-though-im-admin/)󠁿

 [syyymonsyy](https://profiles.wordpress.org/syyymonsyy/) 12. decembra 2023 2 replies

hide admin bar even though I’m admin

![](https://secure.gravatar.com/avatar/d72a59cabfca89e111fbe313db3d8a6ef850f3494bb0f2848625596e97d6cdd8?
s=60&d=retro&r=g)

### 󠀁[It’s working very well after update](https://wordpress.org/support/topic/its-working-very-well-after-update/)󠁿

 [mich08](https://profiles.wordpress.org/mich08/) 9. měrca 2023

It's working very well after recent update.

![](https://secure.gravatar.com/avatar/e87f3e9409b0fb4f52e977cd3873370428398206d41c2aefaac9710de78fa2bc?
s=60&d=retro&r=g)

### 󠀁[After an update, the admin bar appeared for all users.](https://wordpress.org/support/topic/after-an-update-the-admin-bar-appeared-for-all-users/)󠁿

 [upwithit](https://profiles.wordpress.org/upwithit/) 6. julija 2022 4 replies

I had to uninstall this plugin. After a recent update – I'm not sure when – the 
admin bar appeared for all users on the front end, whether they were logged in or
not. Apparently, the update requires you to opt out of that functionality. That 
is literally the opposite of what the plugin was supposed to do. Since I'm more 
or less always logged in to the site, I didn't realize the admin bar was appearing
on the front end for over a week.

![](https://secure.gravatar.com/avatar/887aa4f52147805dd18f3c28454c5994132bb509ba0e8fb9af4a119e63a14f61?
s=60&d=retro&r=g)

### 󠀁[AWESOME](https://wordpress.org/support/topic/awesome-9361/)󠁿

 [ceef454](https://profiles.wordpress.org/ceef454/) 5. apryla 2022 1 reply

I usually don't take time to give reviews, this thing is quick and magic! thank 
you!

 [ Čitajće 20 pohódnoćenjow ](https://wordpress.org/support/plugin/hide-admin-bar-based-on-user-roles/reviews/)

## Sobuskutkowarjo a wuwiwarjo

„Hide Admin Bar Based on User Roles – Disable the WordPress Toolbar by Role or Capability“
je softwara wotewrjeneho žórła. Slědowacy ludźo su k tutomu tykačej přinošowali.

Sobuskutkowarjo

 *   [ Ankit Panchal ](https://profiles.wordpress.org/ankitmaru/)
 *   [ Sia Panchal ](https://profiles.wordpress.org/siapanchal/)

„Hide Admin Bar Based on User Roles – Disable the WordPress Toolbar by Role or Capability“
je so do 4 rěčow přełožił. Dźakujemy so [přełožowarjam](https://translate.wordpress.org/projects/wp-plugins/hide-admin-bar-based-on-user-roles/contributors)
za jich přinoški.

[Přełožće „Hide Admin Bar Based on User Roles – Disable the WordPress Toolbar by Role or Capability“ do swojeje rěče.](https://translate.wordpress.org/projects/wp-plugins/hide-admin-bar-based-on-user-roles)

### Na wuwiću zajimowany?

[Přehladajće kod](https://plugins.trac.wordpress.org/browser/hide-admin-bar-based-on-user-roles/),
hladajće do [SVN-repozitorija](https://plugins.svn.wordpress.org/hide-admin-bar-based-on-user-roles/)
abo abonujće [wuwiwanski protokol](https://plugins.trac.wordpress.org/log/hide-admin-bar-based-on-user-roles/)
přez [RSS](https://plugins.trac.wordpress.org/log/hide-admin-bar-based-on-user-roles/?limit=100&mode=stop_on_copy&format=rss).

## Protokol změnow

#### 7.3.0

 * New: Redesigned settings page that looks and works like the rest of WordPress.
   Changes save without reloading the page.
 * New: Add capabilities as tags. They are no longer cut off at 20 characters.
 * Improved: The plugin no longer loads any CSS or JavaScript (including jQuery)
   on the front end of your site.
 * Improved: The settings page loads one small stylesheet and script instead of 
   Bootstrap and other libraries, making the plugin about 2 MB smaller.
 * Improved: The plugin is now completely free. Upgrade prompts and ads for paid
   plans are gone.
 * Updated: Freemius SDK 2.13.4.

#### 7.2.5

 * Fixed: Minor compatibility issues with the latest WordPress version.

#### 7.2.4

 * Fixed: Minor compatibility issues with the latest WordPress version.

#### 7.2.3

 * Fixed: Minor compatibility issues with the latest WordPress version.

#### 7.2.1

 * Fixed: Minor compatibility issues with the latest WordPress version.

#### 7.2.0

 * Improved: Admin settings UI refresh for better usability.
 * Fixed: Minor compatibility issues with the latest WordPress version.

#### 7.1.0

 * Improved: Admin settings UI refresh for better usability.
 * Improved: Code quality and inline documentation.
 * Fixed: Minor compatibility issues with the latest WordPress version.

#### 7.0.3 – 31-01-2026

 * Fixed: Minor bugs and stability improvements.

#### 7.0.1 – 25-11-2025

 * Fixed: Minor bugs and stability improvements.

#### 6.0.3 – 03-07-2025

Fixed some bugs and improvements.

#### 6.0.2 – 03-06-2025

Fixed some bugs and improvements.

#### 6.0.0 – 20-04-2025

 * Major release: Pro version launched (optional, upgrade via Freemius)
 * Added: Auto Hide Admin Bar (Pro)
 * Added: Page-based, device-based, and time-based visibility modules (Pro)
 * Added: Per-user override, redirect on hide, import/export
 * Improved: Settings layout and compatibility with other plugins
 * Refactored: Modular architecture for clean feature handling

#### 5.2.0 – 02-04-2025

 * I18N Issues Fixes
 * Compatibility tested & Tested with the latest WordPress version.

#### 5.0.0 – 16-02-2025

 * Admin ui updated.
 * Compatibility tested & Tested with the latest WordPress version.

#### 4.1.0 – 28-12-2024

Compatibility tested & Tested with the latest WordPress version.

#### 4.0.0 – 09-11-2024

Compatibility tested & Tested with the latest WordPress version.

#### 3.9.1 – 30-10-2024

Compatibility tested & Tested with the latest WordPress version.

#### 3.9.0 – 25-09-2024

Compatibility tested & Tested with the latest WordPress version.

#### 3.8.3 – 13-08-2024

Compatibility tested & Tested with the latest WordPress version.

#### 3.8.2 – 01-07-2024

Compatibility tested & Tested with the latest WordPress version.

#### 3.8.1 – 24-05-2024

Compatibility tested & Tested with the latest WordPress version.

#### 3.8.0 – 15-05-2024

Compatibility tested & Tested with the latest WordPress version & UltimaKit For 
WP support added.

#### 3.7.2 – 03-03-2024

Compatibility tested & Tested with the latest WordPress version.

#### 3.7.1 – 06-02-2024

Compatibility tested & Tested with the latest WordPress version.

#### 3.7.0 – 01-01-2024

Compatibility tested & Tested with the latest WordPress version.

#### 3.6.2 – 09-11-2023

Compatibility tested & Tested with the latest WordPress version.

#### 3.6.1 – 01-10-2023

Compatibility tested & Tested with the latest WordPress version.

#### 3.6.0 – 02-08-2023

Compatibility tested & Tested with the latest WordPress version.

#### 3.5.6

Compatibility tested & Tested with the latest WordPress version.

#### 3.5.5

Compatibility tested & Tested with the latest WordPress version.

#### 3.5.4

Compatibility tested & Tested with the latest WordPress version.

#### 3.5.3

Compatibility tested & Tested with the latest WordPress version.

#### 3.5.2

Security Fixes and Improvements.

#### 3.5.1

Security Fixes and Improvements.

#### 3.5.0

Security Fixes and Improvements.

#### 3.4.1

Security Fixes and Improvements.

#### 3.4.0

Security Fixes and Improvements and multisite support reverted.

#### 3.3.0

Security Fixes and Improvements and multisite support added.

#### 3.2.0

Security Fixes and Improvements.

#### 3.1.0

Security Fixes and Improvements.

#### 3.0.0

Security Fixes and Improvements.

#### 2.9.0

Improvements & Fixes

#### 2.8.0

Improvements & Fixes

#### 2.7.0

Improvements & Fixes

#### 2.6.0

Improvements

#### 2.5.0

Improvements

#### 2.4.0

Improvements

#### 2.3.0

Improvements

#### 2.2.0

Improvements

#### 2.1.0

Improvements

#### 2.0.0

Bug Fixes & Improvements

#### 1.8.0

Bug Fixes & Improvements

#### 1.7.0

Bug Fixes & Improvements

#### 1.6.1

Bug Fixes & Improvements

#### 1.6

Bug Fixes & Improvements

#### 1.5

Bug Fixes & Improvements

#### 1.4

Code Improvements, GUI Updated, New Feature Integration.

#### 1.3

Code Improvements, GUI Updated.

#### 1.2

Fixed some bugs and improvements and new feature added -> Hide admin bar for all
guest users.

#### 1.1

Fixed some bugs and improvements.

#### 1.0

First release

## Meta

 *  Version **7.3.0**
 *  Last updated **2 njedźeli**
 *  Active installations **20.000+**
 *  WordPress version ** 5.5 abo nowši **
 *  Tested up to **7.1.3**
 *  PHP version ** 5.6 abo nowši **
 *  Languages
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/hide-admin-bar-based-on-user-roles/),
   [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/hide-admin-bar-based-on-user-roles/),
   [English (US)](https://wordpress.org/plugins/hide-admin-bar-based-on-user-roles/),
   [German](https://de.wordpress.org/plugins/hide-admin-bar-based-on-user-roles/)
   a [Swedish](https://sv.wordpress.org/plugins/hide-admin-bar-based-on-user-roles/).
 *  [Přełožće do swojeje rěče](https://translate.wordpress.org/projects/wp-plugins/hide-admin-bar-based-on-user-roles)
 * Tags
 * [admin bar](https://hsb.wordpress.org/plugins/tags/admin-bar/)[hide admin bar](https://hsb.wordpress.org/plugins/tags/hide-admin-bar/)
   [remove admin bar](https://hsb.wordpress.org/plugins/tags/remove-admin-bar/)[toolbar](https://hsb.wordpress.org/plugins/tags/toolbar/)
   [user roles](https://hsb.wordpress.org/plugins/tags/user-roles/)
 *  [Rozšěrjeny napohlad](https://hsb.wordpress.org/plugins/hide-admin-bar-based-on-user-roles/advanced/)

## Pohódnoćenja

 3.9 out of 5 stars.

 *  [  14 5-star reviews     ](https://wordpress.org/support/plugin/hide-admin-bar-based-on-user-roles/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/hide-admin-bar-based-on-user-roles/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/hide-admin-bar-based-on-user-roles/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/hide-admin-bar-based-on-user-roles/reviews/?filter=2)
 *  [  5 1-star reviews     ](https://wordpress.org/support/plugin/hide-admin-bar-based-on-user-roles/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/hide-admin-bar-based-on-user-roles/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/hide-admin-bar-based-on-user-roles/reviews/)

## Sobuskutkowarjo

 *   [ Ankit Panchal ](https://profiles.wordpress.org/ankitmaru/)
 *   [ Sia Panchal ](https://profiles.wordpress.org/siapanchal/)

## Podpěra

Chceće něšto prajić? Trjebaće pomoc?

 [Forum pomocy pokazać](https://wordpress.org/support/plugin/hide-admin-bar-based-on-user-roles/)