
內容簡介
透過 WordPress 標準的使用者管理功能新增使用者,將他們的身分角色設定為客戶。
使用短碼 [escl_logged_in]內容[/escl_logged_in],僅讓已登入的使用者能夠存取內容。
透過短碼 [escl_logged_in],您可以透過指定屬性「user」和「group」,為特定的使用者或群組顯示內容。
例如:僅顯示給使用者「joebloggs」的內容:
* [escl_logged_in user=”joebloggs”]content[/escl_logged_in]
若想要顯示給群組「group1」和「group2」的內容(當指定多個群組時,群組間必須以「|」分隔):
* [escl_logged_in group=”group1|group2″]content[/escl_logged_in]
注意:這是測試版本。我們期待您的回饋,以便更快地推出穩定版本。
外掛標籤
開發者團隊
② 後台搜尋「Electric Studio Client Login」→ 直接安裝(推薦)
原文外掛簡介
Add users by using the standard User management in wordpress. Just set them to the role of client.
Use shortcode [escl_logged_in]content[/escl_logged_in] to make content available only to logged in users.
With the [escl_logged_in] shortcode, you can specify only for a certain user or certain groups by using the attributes ‘user’ and ‘group’.
i.e. To show content only to user ‘joebloggs’:
* [escl_logged_in user=”joebloggs”]content[/escl_logged_in]
And to show content only to groups ‘group1’ and ‘group2’ (When using multiple groups, the groups must be separated by a ‘|’):
* [escl_logged_in group=”group1|group2″]content[/escl_logged_in]
N.B. This is a beta version. The more feedback we get, the quicker we can make it into a stable version.
