{"id":218158,"date":"2025-01-07T20:09:27","date_gmt":"2025-01-07T20:09:27","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/contentprotector\/"},"modified":"2025-01-07T20:08:56","modified_gmt":"2025-01-07T20:08:56","slug":"contentprotector","status":"publish","type":"plugin","link":"https:\/\/fon.wordpress.org\/plugins\/contentprotector\/","author":23143298,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"1.0","tested":"6.7.5","requires":"5.8","requires_php":"","requires_plugins":null,"header_name":"ContentProtector","header_author":"Anton Simonov","header_description":"Protects pages or posts with a password using shortcodes. Includes a settings page for managing functionality.","assets_banners_color":"fff5f5","last_updated":"2025-01-07 20:08:56","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":6000,"downloads":2681,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"antonphp","date":"2025-01-07 20:08:56"}},"upgrade_notice":{"":"<p>N\/A<\/p>"},"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":3218554,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3218554,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3218554,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{"blueprint.json":{"filename":"blueprint.json","revision":3222124,"resolution":false,"location":"assets","locale":"","contents":"{\"landingPage\":\"wp-admin\\\/admin.php?page=contentprotector\",\"steps\":[{\"step\":\"login\",\"username\":\"admin\",\"password\":\"password\"},{\"step\":\"installPlugin\",\"pluginData\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"contentprotector\"},\"options\":{\"activate\":true}},{\"step\":\"installPlugin\",\"pluginZipFile\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"contentprotector\"},\"options\":{\"activate\":true}}]}"}},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3218554,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3218554,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Admin settings page with configuration options.","2":"Password protect block"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[18193,1930,30794,1178,17051],"plugin_category":[54],"plugin_contributors":[235304],"plugin_business_model":[],"class_list":["post-218158","plugin","type-plugin","status-publish","hentry","plugin_tags-content-protection","plugin_tags-password","plugin_tags-password-protect","plugin_tags-protection","plugin_tags-restrict-content","plugin_category-security-and-spam-protection","plugin_contributors-antonphp","plugin_committers-antonphp"],"banners":{"banner":"https:\/\/ps.w.org\/contentprotector\/assets\/banner-772x250.png?rev=3218554","banner_2x":"https:\/\/ps.w.org\/contentprotector\/assets\/banner-1544x500.png?rev=3218554","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/contentprotector\/assets\/icon-256x256.png?rev=3218554","icon_2x":"https:\/\/ps.w.org\/contentprotector\/assets\/icon-256x256.png?rev=3218554","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/contentprotector\/assets\/screenshot-1.png?rev=3218554","caption":"Admin settings page with configuration options."},{"src":"https:\/\/ps.w.org\/contentprotector\/assets\/screenshot-2.png?rev=3218554","caption":"Password protect block"}],"raw_content":"<!--section=description-->\n<p><strong>ContentProtector<\/strong> is a lightweight and flexible plugin that allows you to protect your WordPress content with passwords. You can protect an entire post or page, or just a specific portion of the content.<\/p>\n\n<h3>Features<\/h3>\n\n<ul>\n<li><strong>Global Protection<\/strong>: Set a global password for all posts or pages.<\/li>\n<li><strong>Partial Content Protection<\/strong>: Use a shortcode to protect only a specific part of your content.<\/li>\n<li><strong>Customizable<\/strong>: Easy to set up with a clean and intuitive admin interface.<\/li>\n<li><strong>Secure<\/strong>: Uses WordPress Nonces and cookies for secure password handling.<\/li>\n<\/ul>\n\n<h3>How It Works<\/h3>\n\n<ol>\n<li>Use the shortcode <code>[cpwp_protect password=\"your_password\"]<\/code> to protect an entire post or page.<\/li>\n<li>Use <code>[cpwp_protect_content password=\"your_password\"]<\/code> to protect only a portion of your content.<\/li>\n<\/ol>\n\n<p>Example for partial content protection:\n    `html\n[cpwp_protect_content password=\"pass\"]\nThis content is protected by a password. Enter the password to view it.\n[\/cpwp_protect_content]<\/p>\n\n<!--section=installation-->\n<p>Download the plugin and upload the contentprotector folder to the \/wp-content\/plugins\/ directory.\nActivate the plugin through the \"Plugins\" menu in WordPress.\nGo to the ContentProtector menu in the WordPress dashboard to configure settings.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='can%20i%20use%20different%20passwords%20for%20different%20posts%20or%20content%3F'><h3>Can I use different passwords for different posts or content?<\/h3><\/dt>\n<dd><p>Yes! Each shortcode instance can have its own password.<\/p><\/dd>\n<dt id='what%20happens%20if%20a%20user%20enters%20the%20wrong%20password%3F'><h3>What happens if a user enters the wrong password?<\/h3><\/dt>\n<dd><p>The plugin will show an error message and prompt the user to try again.<\/p><\/dd>\n<dt id='can%20i%20use%20this%20plugin%20on%20a%20multisite%20installation%3F'><h3>Can I use this plugin on a multisite installation?<\/h3><\/dt>\n<dd><p>Yes, ContentProtector works perfectly on WordPress multisite.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<p>Initial release.<\/p>","raw_excerpt":"Protect your content with passwords using easy-to-use shortcodes. Supports both global protection and partial content protection.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/fon.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/218158","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fon.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/fon.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/fon.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=218158"}],"author":[{"embeddable":true,"href":"https:\/\/fon.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/antonphp"}],"wp:attachment":[{"href":"https:\/\/fon.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=218158"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/fon.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=218158"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/fon.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=218158"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/fon.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=218158"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/fon.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=218158"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/fon.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=218158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}