説明
Install, activate, and you’re done.
This plugin hides the WordPress Toolbar (admin bar) for all visitors and users without the ‘administrator’ role. It’s a very simple plugin with no settings to configure.
- Use this plugin for sites with only one admin who needs access to the dashboard and the admin bar.
- This plugin is super lightweight, with just a few lines of code.
- If you need to show the toolbar for other user roles, use the filter
habfna_show_admin_bar_roles
.
This plugin is a tweak of the code by Yoast to hide the admin bar for non-admins only.
インストール
Install Hide Admin Bar from Non-Admins from within WordPress
- Visit the plugins page within your dashboard and select “Add New”
- Search for “Hide Admin Bar from Non-Admins”
- Locate this plugin and click “Install”
- Activate “Hide Admin Bar from Non-Admins” through the “Plugins” menu in WordPress
- That’s it. There are no settings.
Install Hide Admin Bar from Non-Admins Manually
- Upload the
hide-admin-bar-from-non-admins
folder to the/wp-content/plugins/
directory - Activate “Hide Admin Bar from Non-Admins” through the “Plugins” menu in WordPress
- That’s it. There are no settings.
評価
2024年4月26日
Интерфейс оставляет ожидать лучшего!
2022年2月23日
Works perfectly. For a membership site, I don’t want anyone seeing the admin bar except admins! Thank you 🙂
2021年11月14日
The plugin is highly efficient, Works exactly as described and expected.
2021年7月8日
Works Perfectly with Wordpress 5.7.2
Thank you!
Mark.
2020年5月13日
I tried more than 5 plugins, this one is the best, it shows toolbar for admin, but it hides it from users. Thank you, you deserve this positive comment
2020年1月31日
Gr8t Job
貢献者と開発者
“Hide Admin Bar from Non-Admins” をあなたの言語に翻訳しましょう。
開発に興味がありますか ?
変更履歴
1.0.2 – 2024-11-13
- ENHANCEMENT: Update tested up to WordPress 6.7.
- ENHANCEMENT: Preparing plugin to be put up for adoption.
1.0.1 – 2022-04-11
- ENHANCEMENT: Added
habfna_show_admin_bar_roles
filter to show the admin toolbar for additional roles. - BUG FIX: Fixed code to hide the admin bar from non-admins when viewing the Edit Profile WordPress admin page.
1.0
- Initial version of the plugin.