该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Members [is_user_logged_out] shortcode

描述

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.

安装

  1. Upload to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常见问题

None.

评价

2016 年 9 月 3 日
Does exactly what expected. Very nice move to think about that one! Work with WP 4.3.1 no problem.
阅读所有4条评价

贡献者及开发者

「Members [is_user_logged_out] shortcode」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

0.1

First release.