Hide Admin Bar Based on User Roles

Description

This plugin is very useful to hide the admin bar based on selected user roles and user capabilities.

Key Features (Free):
– Hide Admin Bar for All Users
– Hide for Guest Users / Non-Logged-In
– Hide by User Roles
– Hide by User Capabilities

✨ New in v6.0.0 — Hide Admin Bar Pro is now available!
– Auto-hide toolbar after delay (UX improvement)
– Hide by device: mobile, tablet, desktop
– Page-based targeting: show/hide on specific URLs
– Per-user override: set always show/hide
– Time-based visibility (e.g., hide at night)
– Redirect when hidden
– Import/export settings
– All new logic modules conditionally loaded (no impact on free users)

Simple but great plugin. šŸ™‚
wptoolsdev

Works flawlessly! šŸ™‚
thebrazeneye

Features

  1. Hide Admin Bar for All Users — Hides the frontend toolbar for all logged-in users.
  2. Hide Admin Bar for All Guest Users — Hides for non-logged-in visitors.
  3. User Roles — Select specific roles like Editor, Subscriber, etc.
  4. Capabilities Blacklist — Hide admin bar based on capability checks (manage_options, etc.)

You can check our other plugins:

  1. All-in-One WordPress Toolkit for SEO, Security, Customization, and Performance
  2. Like Dislike For WP
  3. Disable Block Editor FullScreen mode
  4. NoteFlow – Smart Notes Manager for WordPress Admin

Screenshots

  • Hide admin bar for all users
  • Hide by roles or capabilities

Installation

Please follow below instructions to install this plugin to your WordPress website.

  1. Unpack the entire contents of this plugin zip file into your wp-content/plugins/ folder
  2. Upload to your site
  3. Navigate to wp-admin/plugins.php on your site
  4. Activate the plugin

OR
Install it via Plugins Add New Search: Hide Admin Bar Based on User Roles

FAQ

Is this plugin works with latest WordPress 6+ versions?

Yes, It is compatible with latest WordPress versions 3.9+

Is it compatible with other 3rd party plugins and themes?

Yes, It works fine with any 3rd party WordPress themes and plugins.

Is this plugin hide admin bar for guest users as well?

Yes, This plugin hides admin bar for guest users as well.

Do you offer a Pro version?

Yes! Hide Admin Bar Pro unlocks advanced features like page-level targeting, device rules, per-user overrides, time-based logic, redirect after hide, and more. Learn More

Reviews

July 6, 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.
April 5, 2022 1 reply
I usually don’t take time to give reviews, this thing is quick and magic! thank you!
January 18, 2022 1 reply
When activated the admin panel is still accessible by typing /wp-admin/ after the site address! How to disable real access?
Read all 20 reviews

Contributors & Developers

“Hide Admin Bar Based on User Roles” is open source software. The following people have contributed to this plugin.

Contributors

“Hide Admin Bar Based on User Roles” has been translated into 4 locales. Thank you to the translators for their contributions.

Translate “Hide Admin Bar Based on User Roles” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

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