
內容簡介
描述
這個外掛可以讓你按照登入使用者的使用者角色(管理員、編輯、作者、貢獻者或訂閱者)在你網站的 widget 區塊中選擇性地顯示內容。它還附帶了兩個基於使用者狀態的 widget 區塊,可以顯示給所有登入使用者或所有登出使用者。所有基於使用者角色和狀態的 widget 區塊都可以顯示在你主題中任何現有的側邊欄或 widget 區域中。
外掛特色
5 個基於使用者角色的 widget 區塊,每個區塊對應 WordPress 的標準使用者角色。
2 個基於使用者狀態的 widget 區塊,一個是顯示給登入使用者,另一個是顯示給登出使用者。
2 個 widget,用於在前端(公共網站)上顯示你的新 widget 區塊。
其他快捷代碼,用於顯示基於使用者角色和使用者狀態的 widget 區塊。
可以將顯示 widget 區域的腳本硬編碼到你的主題中。
使用標準的 WordPress Roles and Capabilities 功能。
編寫文檔完善、代碼輕量且速度快(外掛本身僅有11KB)。
評價這個外掛
如果你喜歡這個外掛並覺得它有用,請花一點時間評價它。謝謝!
外掛標籤
開發者團隊
原文外掛簡介
Description
This plugin allows you to selectively display content in your themes active widget areas based on the user roles (Administrator, Editor, Author, Contributor or Subscriber) of logged in users. It also comes with two user status based widget areas for displaying content to all logged in users or all logged out users. All user role and status based widget areas can be displayed in any existing sidebar or widget area within your theme.
Plugin Features
5 User role based widget areas, one for each of the standard WordPress user roles.
2 User status based widget areas, one for logged in users and one for logged out users.
2 Widgets for displaying your new widget areas on the front end (public site).
Additional shortcodes for displaying your user role and user status based widget areas.
The ability to hard code the script into your theme that displays the widget areas on the front end.
Uses standard WordPress Roles and Capabilities functions.
Well documented, lightweight code that is built for speed (the plugin itself is only 11kb).
Rate The Plugin
If you like this plugin and find it useful please take a moment to rate it. Thanks!
