Šis įskiepis nebuvo išbandytas su 3 vėliausiomis WordPress versijomis. Jis tikriausiai nėra prižiūrimas ir palaikomas, todėl gali neveikti su naujausiomis WordPress versijomis.

Hide Content from Non-Logged In Users using a Shortcode

Aprašymas

Hide Content with shortcode: [hide_content] THIS CONTENT [/hide_content] – [hide_content message=”Custom notifications”]THIS CONTENT [/hide_content] The plugin can hide any content from non-logged-in users. The code is simple, compact, does not take up storage space or system resources. Works with shortcodes like CF7.

Diegimas

  1. Upload the plugin files to the /wp-content/plugins/hide-content-non-logged-in directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Use the shortcode [hide_content] YOUR CONTENT [/hide_content] to hide content from non-logged-in users.

DUK

Can I customize the message for non-logged-in users?

Yes, you can use the message attribute in the shortcode to display a custom message.

Atsiliepimai

Įskiepis neturi atsiliepimų.

Programuotojai ir komandos nariai

“Hide Content from Non-Logged In Users using a Shortcode” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės surašyti toliau.

Autoriai

Pakeitimų istorija

1.1

  • Added custom CSS attributes and login URL to the shortcode.

1.0

  • Initial release.