Hide Admin Bar Based on User Roles

外掛說明

這個實用的外掛可依據選取的使用者角色及權限隱藏工具列。

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)

單純卻非常實用的外掛。🙂
wptoolsdev

執行結果非常完美!🙂
thebrazeneye

外掛功能

  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. 權限封鎖清單:使用這個功能便能在網站前端為具備指定使用者權限 (例如 manage_options) 的使用者角色隱藏工具列。

也請參考我們開發的其他外掛:

  1. UltimaKit For WP – 多功能 WordPress SEO、安全性、客製化及效能工具組
  2. Like Dislike For WP
  3. Disable Block Editor FullScreen mode
  4. NoteFlow – 在 WordPress 管理後台的智慧型記事管理程式

螢幕擷圖

  • 為全部使用者隱藏工具列
  • 依據使用者角色或權限隱藏工具列

安裝方式

請依照以下操作說明在 WordPress 網站上安裝這個外掛。

  1. 將外掛安裝套件 ZIP 壓縮檔解壓縮所得的 hide-admin-bar-based-on-user-roles 資料夾上傳至 /wp-content/plugins/ 目錄中。
  2. 上傳至網站。
  3. 前往 WordPress 管理後台的 [外掛] 頁面。
  4. 啟用外掛。

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

常見問題集

這個外掛是否可用於 WordPress 6.0 或更新版本?

是,這個外掛相容於 WordPress 3.9 或更新版本。

這個外掛是否相容於其他第三方外掛及佈景主題?

是,這個外掛相容於其他第三方 WordPress 佈景主題及外掛。

這個外掛是否能為網站訪客隱藏工具列?

是,這個外掛可以為網站訪客隱藏工具列。

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

使用者評論

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〉外掛目前已有 4 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Hide Admin Bar Based on User Roles〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

6.0.3 – 03-07-2025

Fixed some bugs and improvements.

6.0.2 – 03-06-2025

Fixed some bugs and improvements.

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