{"id":47333,"date":"2011-03-21T14:00:27","date_gmt":"2011-03-21T18:00:27","guid":{"rendered":"http:\/\/wpmu.org\/?p=47333"},"modified":"2016-11-07T23:43:01","modified_gmt":"2016-11-07T23:43:01","slug":"introducing-password-protect-selected-content","status":"publish","type":"post","link":"https:\/\/wpmudev.com\/blog\/introducing-password-protect-selected-content\/","title":{"rendered":"Secure Selected Content With Password Protect"},"content":{"rendered":"<p>Sometimes you want to password protect aspects of your content but you don&#8217;t want to have to use a fully blown membership plugin to do so. A membership plugin, while awesome in many cases, can be overkill when it comes to protecting sections of your post or your page.<\/p>\n<p>The good news is, we&#8217;ve developed a simple new plugin to password protect sections of your posts and pages without overdoing it.<\/p>\n<p><a href=\"https:\/\/github.com\/wpmudev\/protect-selected-content\" rel=\"noopener\" target=\"_blank\">Password Protect Selected Content<\/a> lets you do just that &#8211; protect selected content.<\/p>\n<p>This includes <strong>text, images, video, links<\/strong>, whatever you should desire.<\/p>\n<p>Not only that, but the plugin can be used to hide information inside other shortcodes. This lets you protect video embeds and file download links.<\/p>\n<p>After installing the plugin you&#8217;ll find the new protect content <strong>icon in your Visual Editor:<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-47335\" title=\"pw-protect1\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2011\/03\/pw-protect1.png\" alt=\"password protect icon\" width=\"525\" height=\"269\" \/><\/p>\n<p>Input your post or page as usual. And <strong>select the content that you want to hide<\/strong>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-47336\" title=\"pw-protect2\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2011\/03\/pw-protect2.png\" alt=\"password protect 2\" width=\"525\" height=\"238\" \/><\/p>\n<p>Add your <strong>password <\/strong>and watch the <strong>shortcode <\/strong>appear around the selected text:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-47337\" title=\"pw-protect3\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2011\/03\/pw-protect3.png\" alt=\"text with password shortcode\" width=\"525\" height=\"243\" \/><\/p>\n<p>Save as usual, and here it is:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-47338\" title=\"pw-protect4\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2011\/03\/pw-protect4.jpg\" alt=\"text password protected\" width=\"525\" height=\"235\" \/><\/p>\n<p>A simple and elegant solution to a problem that many of our users have come up against.<\/p>\n<p><a href=\"https:\/\/github.com\/wpmudev\/protect-selected-content\" rel=\"noopener\" target=\"_blank\">Check out the plugin on GitHub.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes you want to password protect aspects of your content but you don&#8217;t want to have to use a fully blown membership plugin to do so. A membership plugin, while awesome in many cases, can be overkill when it comes to protecting sections of your post or your page. The good news is, we&#8217;ve developed [&hellip;]<\/p>\n","protected":false},"author":131844,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"blog_reading_time":"","wds_primary_category":0,"wds_primary_tutorials_categories":0,"footnotes":""},"categories":[1,4,4161],"tags":[],"tutorials_categories":[],"class_list":["post-47333","post","type-post","status-publish","format-standard","hentry","category-news-community","category-plugins","category-wpmudev"],"_links":{"self":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/47333","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/users\/131844"}],"replies":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/comments?post=47333"}],"version-history":[{"count":6,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/47333\/revisions"}],"predecessor-version":[{"id":182146,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/47333\/revisions\/182146"}],"wp:attachment":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media?parent=47333"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/categories?post=47333"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tags?post=47333"},{"taxonomy":"tutorials_categories","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tutorials_categories?post=47333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}