[WordPress] 外掛分享: WP Is Connected by Azed

首頁外掛目錄 › WP Is Connected by Azed
全新外掛
安裝啟用
尚無評分
3517 天前
最後更新
問題解決
WordPress 3.4+ v0.1 上架:2016-07-31

內容簡介

您需要為每個使用者角色顯示特定內容嗎?

您希望在頁面上顯示已登入使用者的名稱(「您好,USERNAME」)

兩個按鈕讓您可以直接在編輯器中生成簡碼 😉

** 簡碼 **

**已連接或未連接 **

[wisco on] … CONTENT … [/wisco] => 使用者已連接
[wisco off] … CONTENT … [/wisco] => 使用者未連接
[wisco on=”author”] … CONTENT … [/wisco] => 使用者已連接,且使用者角色為作者
[wisco on=”author,administrator,editor”] … CONTENT … [/wisco] => 使用者已連接,且使用者角色為作者或管理員或編輯器 (每個角色之間用逗號分隔)
[wisco on=”!subscriber,!administrator”] … CONTENT … [/wisco] => 使用者已連接,且使用者角色不是訂閱者或管理員 (每個角色之間用逗號分隔)
[wisco id=”1,2,3″] … CONTENT … [/wisco] => 使用者已連接,且使用者ID為1或2或3 (每個ID之間用逗號分隔)

** 顯示使用者資訊 **

[wishow name] => 顯示已登入使用者的名稱
[wishow email] => 顯示已登入使用者的電子郵件
[wishow description] => 顯示已登入使用者的描述
[wishow id] => 顯示已登入使用者的ID
[wishow role] => 顯示已登入使用者的角色
[wishow website] => 顯示已登入使用者的網站URL

語言

提供英文版
提供法文版
提供.Po檔,讓您自行翻譯!

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WP Is Connected by Azed」→ 直接安裝(推薦)

原文外掛簡介

You need to show specific content for each user role ?
You want to display the name of a logged user (“Hello USERNAME”)
Two button allow you to generate shortcodes directly in the editor 😉
** SHORTCODES **
** Is connected or not **

[wisco on] … CONTENT … [/wisco] => the user is connected
[wisco off] … CONTENT … [/wisco] => the user is not connected
[wisco on=”author”] … CONTENT … [/wisco] => the user is connected and his role is author
[wisco on=”author,administrator,editor”] … CONTENT … [/wisco] => the user is connected and his role is author or administrator or editor (separate each role whith a coma)
[wisco on=”!subscriber,!administrator”] … CONTENT … [/wisco] => the user is connected and his role is not subscriber and not administrator (separate each role whith a coma)
[wisco id=”1,2,3″] … CONTENT … [/wisco] => the user is connected and his ID 1 or 2 or 3 (separate each id whith a coma)

** Display user information **

[wishow name] => Display the logged user name
[wishow email] => Display the logged user email
[wishow description] => Display the logged user description
[wishow id] => Display the logged user ID
[wishow role] => Display the logged user role
[wishow website] => Display the logged user web site url

Languages

Available in ENGLISH
Available in FRENCH
.PO available to make your own translation !

延伸相關外掛

文章
Filter
Mastodon