這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Hide Content from Non-Logged In Users using a Shortcode

外掛說明

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.

安裝方式

  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.

常見問題集

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.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Hide Content from Non-Logged In Users using a Shortcode〉的開發相關工作。

參與者

變更記錄

1.1

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

1.0

  • Initial release.