{"id":195798,"date":"2024-07-06T07:51:02","date_gmt":"2024-07-06T07:51:02","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/hide-content-from-non-logged-in-users-using-a-shortcode\/"},"modified":"2024-07-06T08:08:39","modified_gmt":"2024-07-06T08:08:39","slug":"hide-content-from-non-logged-in-users-using-a-shortcode","status":"publish","type":"plugin","link":"https:\/\/sah.wordpress.org\/plugins\/hide-content-from-non-logged-in-users-using-a-shortcode\/","author":17788496,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1","stable_tag":"1.1","tested":"6.5.8","requires":"5.0","requires_php":"7.0","requires_plugins":null,"header_name":"Hide Content from Non-Logged In Users using a Shortcode","header_author":"Ho\u00e0ng Giang Nam","header_description":"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.","assets_banners_color":"","last_updated":"2024-07-06 08:08:39","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/hoanggiangnam.com","rating":0,"author_block_rating":0,"active_installs":20,"downloads":697,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.1":{"tag":"1.1","author":"gnam389","date":"2024-07-06 08:08:39"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Screenshot of the plugin in action."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[529,1244,2641,80],"plugin_category":[43],"plugin_contributors":[229301],"plugin_business_model":[],"class_list":["post-195798","plugin","type-plugin","status-publish","hentry","plugin_tags-content","plugin_tags-hide","plugin_tags-logged-in","plugin_tags-shortcode","plugin_category-customization","plugin_contributors-gnam389","plugin_committers-gnam389"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/hide-content-from-non-logged-in-users-using-a-shortcode.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/hide-content-non-logged-in<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Use the shortcode [hide_content] YOUR CONTENT [\/hide_content] to hide content from non-logged-in users.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='can%20i%20customize%20the%20message%20for%20non-logged-in%20users%3F'><h3>Can I customize the message for non-logged-in users?<\/h3><\/dt>\n<dd><p>Yes, you can use the <code>message<\/code> attribute in the shortcode to display a custom message.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1<\/h4>\n\n<ul>\n<li>Added custom CSS attributes and login URL to the shortcode.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"A simple plugin to hide content from non-logged-in users using a shortcode.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/195798","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=195798"}],"author":[{"embeddable":true,"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/gnam389"}],"wp:attachment":[{"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=195798"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=195798"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=195798"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=195798"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=195798"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=195798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}