Tiu ĉi kromprogramo ne estis testita en la 3 lastaj gravaj eldonoj de WordPress. Eble ĝi ne plu estas prizorgata kaj ĝi eble havus kongruajn problemojn en novaj versioj de WordPress.

Members [is_user_logged_out] shortcode

Priskribo

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.

Instalo

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

OD

None.

Pritaksoj

Septembro 3, 2016
Does exactly what expected. Very nice move to think about that one! Work with WP 4.3.1 no problem.
Legi ĉiujn 4 pritaksojn

Kontribuantoj k. programistoj

“Members [is_user_logged_out] shortcode” estas liberkoda programo. La sekvaj homoj kontribuis al la kromprogramo.

Kontribuantoj

Ŝanĝprotokolo

0.1

First release.