Hide Admin Bar Based on User Roles

Mô tả

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

Simple but great plugin. 🙂

Works flawlessly! 🙂


  1. Hide Admin Bar for All Users => By using this feature you can hide admin bar from frontend for all user types.(User Roles)

  2. Hide Admin Bar for All Guests Users => By using this feature you can hide admin bar from frontend for all guest users / Non logged in users.

  3. User Roles => In this option you can choose user roles to hide admin bar for that specific user roles.

  4. Capabilities Blacklist => Now you can hide admin bar based on user capabilities as well. ( Like manage_options etc…)

You can check our other plugins:

  1. Page Visit Counter
  2. Disable Block Editor FullScreen mode

Page visit counter provides very detailed statistics of the visits data. This plugin provides visual charts to show your visits statistics with beautiful and detailed charts, There are lot’s features in this plugin you can check below for more details.

Ảnh màn hình

  • As per Screenshot #1, you can hide admin bar for all users from frontend by selecting Hide for All checkbox.
  • As per Screenshot #2, You can hide Admin Bar from frontend based on selected user roles and capabilities.

Cài đặt

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 locally
  2. Upload to your site
  3. Navigate to wp-admin/plugins.php on your site (your WP plugin page)
  4. Activate this plugin

OR you can just install it with WordPress Admin Panel by going to Plugins / Add New and type this Hide Admin Bar Based on User Roles.

Hỏi đáp

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.

Đánh giá

6 Tháng Bảy, 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.
5 Tháng Tư, 2022 1 reply
I usually don't take time to give reviews, this thing is quick and magic! thank you!
18 Tháng Một, 2022 1 reply
When activated the admin panel is still accessible by typing /wp-admin/ after the site address! How to disable real access?
6 Tháng Mười Hai, 2021
Thank you for great and helpful plugin. Highly compact very simple to use.
21 Tháng Chín, 2021
I really enjoy concise, targeted plugins that make a simple promise and fulfill. This plug-in does the trick. I even have another plug-in that toggles the Admin bar from the front end, and this plug-in still works to hide the admin bar. Thank you.
25 Tháng Tư, 2021
Works as expecting. Great plugin. Nice work.
Đọc tất cả 17 đánh giá

Người đóng góp & Lập trình viên

“Hide Admin Bar Based on User Roles” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“Hide Admin Bar Based on User Roles” đã được dịch qua 3 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “Hide Admin Bar Based on User Roles” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi


First release


Fixed some bugs and improvements.


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


Code Improvements, GUI Updated.


Code Improvements, GUI Updated, New Feature Integration.


Bug Fixes & Improvements


Bug Fixes & Improvements


Bug Fixes & Improvements


Bug Fixes & Improvements


Bug Fixes & Improvements


Bug Fixes & Improvements














Improvements & Fixes


Improvements & Fixes


Improvements & Fixes


Security Fixes and Improvements.


Security Fixes and Improvements.


Security Fixes and Improvements.


Security Fixes and Improvements and multisite support added.


Security Fixes and Improvements and multisite support reverted.


Security Fixes and Improvements.