
內容簡介
DP Username & Role Display 外掛可在網站前端顯示當前登入用戶的顯示名稱及其角色,適用於會員網站、內部網路及測試環境,方便快速識別登入用戶及其角色。
【主要功能】
• 顯示登入用戶的名稱及角色
• 設定頁面可啟用或禁用顯示
• 自訂背景、文字及標籤顏色
• 編輯標籤文字內容
• 提供五種現成的顯示模板
• 輕量級,支援翻譯,使用標準 WordPress API
外掛標籤
開發者團隊
原文外掛簡介
DP Username & Role Display shows the display name and role(s) of the currently logged-in user near the top of every page on the front end of your site.
It is useful for membership sites, intranets, staging environments, and any site where it helps to know, at a glance, who is logged in and what role they hold.
Features
Shows the logged-in user’s display name and role(s) on the front end.
Enable or disable the display from a settings page.
Choose the background, text, and label colors with the built-in WordPress color picker.
Edit the label text (“User:” and “Role:”) to whatever wording you prefer.
Pick from 5 ready-made display templates that change the front-end layout (classic bar, full-width banner, rounded pill, minimal inline, and accent card).
Lightweight, translation-ready, and uses only standard WordPress APIs.
Nothing is shown to logged-out visitors.
