plugin-icon

Hide Admin Bar Based on User Roles

作者 Ankit Panchal·
針對指定使用者角色、權限、裝置、頁面或時間範圍隱藏 WordPress 工具列,是會員資格網站、WooCommerce 網路商店網站及簡潔網站前端的真正工具列控制解決方案。
評價
3.9
版本
7.2.0
活躍安裝總數
20K
最近更新:
Mar 16, 2026
Hide Admin Bar Based on User Roles

Hide Admin Bar Based On User Roles gives you complete control over who sees the WordPress toolbar.

Whether you are running a membership site, a WooCommerce store, or simply want a cleaner frontend for your subscribers, this plugin lets you hide the admin bar with precision — by role, capability, device, page, or time. Stop exposing backend links to users who don’t need them.

The plugin is lightweight, developer-friendly, and works immediately upon activation — no configuration required to get started.

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

執行結果非常完美!🙂 – thebrazeneye

🚀 主要功能 (免費版)

  • Hide for All Users: Completely remove the admin bar from the frontend for everyone.
  • Hide for Guests: Ensure non-logged-in visitors never see the toolbar.
  • Role-Based Hiding: Select specific roles (e.g., Subscriber, Customer, Editor) to hide the bar for.
  • 權限封鎖清單:在網站前端為指定 WordPress 權限 (例如不具備 manage_options) 的使用者角色隱藏工具列。
  • Lightweight & Fast: Zero bloat — no external requests, no database overhead on the frontend.

🏆 付費功能 (Pro 版)

Unlock advanced visibility logic with the Pro version: * Page-Based Targeting: Show or hide the admin bar only on specific URLs, post types, or page templates. * Device Detection: Hide the toolbar on Mobile or Tablet to save screen space, while keeping it on Desktop. * Per-User Overrides: Manually force the admin bar to show or hide for individual user accounts. * Time-Based Visibility: Automatically hide the bar during specific hours of the day. * Smart Redirects: Redirect users to the homepage or a custom URL when they try to access the backend. * Inactivity Auto-Hide: Automatically slide the toolbar away after a configurable period of inactivity. * Import / Export Settings: Back up and migrate your configuration across sites in one click.

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

  1. UltimaKit For WP – 多功能 WordPress SEO、安全性、客製化及效能工具組
  2. Like Dislike For WP
  3. Disable Block Editor FullScreen mode
  4. NoteFlow – 在 WordPress 管理後台的智慧型記事管理程式
目前已測試版本
WordPress 7.0
此外掛程式已可供下載,並可用於你 系統。