Hide Admin Bar Based on User Roles

描述

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

Simple but great plugin. 🙂
wptoolsdev

Works flawlessly! 🙂
thebrazeneye

Features

  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. The Essential WordPress Toolkit – UltimaKit For WP
  2. Like Dislike For WP
  3. Disable Block Editor FullScreen mode

屏幕截图

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

安装

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

e.g.

  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.

常见问题

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.

评价

2022 年 7 月 6 日 4 回复
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.
2022 年 4 月 5 日 1 回复
I usually don’t take time to give reviews, this thing is quick and magic! thank you!
2022 年 1 月 18 日 1 回复
When activated the admin panel is still accessible by typing /wp-admin/ after the site address! How to disable real access?
阅读所有20条评价

贡献者及开发者

“Hide Admin Bar Based on User Roles” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Hide Admin Bar Based on User Roles」插件已被翻译至 3 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Hide Admin Bar Based on User Roles”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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