
內容簡介
這個外掛可以讓您僅顯示內容給已登入或未登入的使用者。
啟用外掛後,使用 [member_container] 短碼來包裝您想要僅顯示給會員或非會員的內容,例如:
[member_container show=”non-members”] 現在加入! [/member_container]
此短碼只有一個參數:
– show:決定內容適用於哪種使用者。可能的值為:「members」、「non-members」。
如果您安裝了 Visual Composer,當插入元素「(非)會員容器」時,它會出現在「內容」類別下,在此您可以選擇該內容是針對會員還是非會員。
該外掛在 Github 上可用,我們接受用於修補錯誤和翻譯檔案的程式片段。
外掛標籤
開發者團隊
原文外掛簡介
This plugin allows to display content sections only to logged in users, or only to non-logged in users.
After activating the plugin use the shortcode [member_container] to encapsulate the content you want to show exclusively to members or non members. For example:
[member_container show=”non-members”] Join now! [/member_container]
The shortcode has only one parameter:
– show: Determines the kind of user that is the content for. Possible values are: “members”, “non-members”.
If you have Visual Composer installed, an element called “(non) Member Container” will appear under the category “Content”, when it is inserted you can choose if the content will be for members or non members
The plugin is available in Github. We receive patches to fix bugs and translation files.
