Linux 软件免费装

Hide Content from Non-Logged In Users using a Shortcode

开发者 [your_username]
gnam389
更新时间 2024年7月6日 16:08
PHP版本: 7.0 及以上
WordPress版本: 6.5
版权: GPLv2 or later
版权网址: 版权信息

标签

shortcode content hide logged-in

下载

1.1

详情介绍:

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.

更新日志:

1.1 1.0