這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.