[WordPress] 外掛分享: DP Username & Role Display

首頁 › 外掛目錄 › DP Username & Role Display
WordPress 外掛 DP Username & Role Display 的封面圖片
全新外掛
安裝啟用
—
尚無評分
39 天前
最後更新
—
問題解決
WordPress 5.2+ PHP 7.2+ v1.1 上架:2026-08-26

內容簡介

DP Username & Role Display 外掛可在網站前端顯示當前登入用戶的顯示名稱及角色,適合會員網站、內部網路及任何需要快速識別登入者身份的網站。

【主要功能】
• 顯示登入用戶的名稱及角色
• 設定頁面可啟用或禁用顯示
• 自訂背景、文字及標籤顏色
• 編輯標籤文字內容
• 提供 5 種顯示模板選擇
• 支援短碼 [dp_user_role_display] 自由放置

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「DP Username & Role Display」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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).
Optionally show the user’s profile icon (avatar) next to their name, with an adjustable size.
Place the block anywhere with the [dp_user_role_display] shortcode – every setting can be overridden per shortcode.
Built-in shortcode generator on the settings page: it updates live as you change options, ready to copy and paste.
Lightweight, translation-ready, and uses only standard WordPress APIs.
Ships with translations for Spanish, French, German, Hindi, and Gujarati.
Nothing is shown to logged-out visitors.

延伸相關外掛

文章
Filter
Mastodon