[WordPress] 外掛分享: Hide Admin Bar from Non-Admins

首頁外掛目錄 › Hide Admin Bar from Non-Admins
WordPress 外掛 Hide Admin Bar from Non-Admins 的封面圖片
10,000+
安裝啟用
★★★★
4.3/5 分(30 則評價)
485 天前
最後更新
問題解決
WordPress 5.2+ v1.0.2 上架:2013-06-19

內容簡介

安裝、啟用,即可完成。

本外掛可隱藏 WordPress 工具列(管理員列)對於沒有「管理者」角色的訪客及使用者。這是一個相當簡單的外掛,不需要進行設定。

這個外掛適用於只有一位管理員需要進入後台和管理員列的網站。
這個外掛非常輕量,僅有數行程式碼。
如果您需要顯示工具列給其他使用者角色,請使用過濾器 habfna_show_admin_bar_roles。

本外掛是 Yoast 的程式碼調整,只能隱藏非管理者的管理員列。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Hide Admin Bar from Non-Admins」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon