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.
Yes, you can use the message
attribute in the shortcode to display a custom message.
1.1
- Added custom CSS attributes and login URL to the shortcode.
1.0
- Initial release.
- 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. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Use the shortcode [hide_content] YOUR CONTENT [/hide_content] to hide content from non-logged-in users.
Reviews
0 out of 5 stars
- Version: 1.1
- Last updated: 3 months ago
- Active installations: 0
- WordPress version: 5.0
- Tested up to: 6.5.5
- PHP version: 7.0