Members [is_user_logged_out] shortcode
v0.1deadelvis · 2011年12月9日 上架
Members plugin extension to add a [is_user_logged_out] shortcode.
- 正在使用
- 20+
- 评分
- 5.0 / 5
- 累计下载
- 2,981
- 最近更新
- 2011年12月10日
4 条评价需要 WordPress 3.1+已测试到 3.2.1
贡献者
To complement the [is_user_logged_in] shortcode I noticed a [is_user_logged_out] shortcode was missing from Members plugin, soI decided to write an “extension plugin” to add it. Maybe this can be added to Members itself one day?
The [is_user_logged_out] shortcode should be used to check if a user is currently logged out of the site. If not, the content will be hidden.
Example:
[is_user_logged_out]This content is only shown to logged-out users.[/is_user_logged_out]
This shortcode has no parameters.