WP Is Connected by Azed
v0.1azeddev · 2016年8月1日 上架
You want to show specific content for each user role ?
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 1,014
- 最近更新
- 2016年8月1日
需要 WordPress 3.4+已测试到 4.6.30
贡献者
截图
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 !



