该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Admin Bar Disabler

描述

Pretty easy setup.. just install and activate it on the site of your choice (or network activate) and set up the settings however you’d like.

This plugin supports both Per-Site and Per-Network (WordPress Multisite) settings, so you can fine tune your options based on your needs.

Other plugins you might be interested in:

屏幕截图

  • Admin Bar Disabler Settings - Set up per-site settings or if this plugin is activated network-wide then you can also set up network-wide settings through the Network Admin.

安装

  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 by going to Plugins >> Add New >> and type this plugin’s name

常见问题

Admin Bar vs Toolbar

When this feature first went out, it was called the Admin Bar but it shows up in other contexts as well so it eventually settled on being called the Toolbar.

Call it whatever you would like: Admin Bar, Toolbar, Admin Toolbar, or the Top WordPress Bar 🙂 it’s covered by this plugin.

评价

2022 年 11 月 16 日 1 回复
It is laughable. It does not work on admin panel. It should be called front end admin bar disabler.
2019 年 4 月 23 日
I hate the admin tool bar at the top. And for certain user roles, it's not necessary to show this bar for them. This plugin does the trick. It even allows you to selectively assign certain roles to display the bar or not. Thank you for the work.
2018 年 1 月 31 日
The only option that works is "Disable for everyone". Blacklist and Whitelist options do not work.
2017 年 5 月 27 日
No problems, great whitelist/blacklist options. I suggest using checkboxes for the options page instead of a multi-select list, however. And adding a radio button to choose between whitelist or blacklist, rather than simply warning that it'll break if you do both.
阅读所有30条评价

贡献者及开发者

“Admin Bar Disabler” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Admin Bar Disabler」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Admin Bar Disabler”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.4.2 – March 5th, 2022

  • Fixed: Adjusted text for when to include roles/capabilities to be “Inclusion List” and when to exclude roles/capabilities to be “Exclusion List”.
  • Fixed: Updated compatibility with WP 5.9+
  • Updated: Now requiring PHP 5.6+

1.4.1 – March 2nd, 2020

  • Fixed: Updated compatibility with WP 5.4+
  • Fixed: Fix some HTML showing up on the page

1.4 – September 3rd, 2018

  • Fixed: Roles/capabilities exclusion list logic is no longer inverted
  • Fixed: Set priority of show_admin_bar to 999 to prevent conflict with other plugins

1.3 – January 8th, 2015

  • Fixed: load_plugin_textdomain usage

1.2 – August 4th, 2014

  • Fixed: 3.x personal option for Admin Bar toggle

1.1 – April 22nd, 2014

  • Updated: Code refactor and logic cleanup
  • Updated: Tested up to 3.9
  • Fixed: Now showing admin bar when in admin area, previously hidden
  • Fixed: Escape values in admin pages

1.0.3 – September 7th, 2012

  • Bug fix on button, tested up to 3.5

1.0.2 – April 15th, 2011

  • Localized plugin, thanks for the help from Anja Fokker

1.0.1 – February 24th, 2011

  • Bug fix for warnings and added additional help text to settings pages

1.0 – February 24th, 2011

  • Initial release