{"id":1909,"date":"2017-08-11T16:07:07","date_gmt":"2017-08-11T10:37:07","guid":{"rendered":"http:\/\/mandmwebsolutions.com\/blog\/?p=1909"},"modified":"2018-04-24T15:05:43","modified_gmt":"2018-04-24T09:35:43","slug":"set-up-password-protected-wordpress-categories-without-plugin","status":"publish","type":"post","link":"http:\/\/mandmwebsolutions.com\/blog\/set-up-password-protected-wordpress-categories-without-plugin\/","title":{"rendered":"How To Password Protect A Category In WordPress Without A Plugin"},"content":{"rendered":"<p>Password protecting specific categories is a way you can use to hide the content that you wouldn\u2019t like to show your website visitors.<\/p>\n<h2>Key Features of Password Protected Categories in WordPress<\/h2>\n<ul class=\"innerlist\">\n<li>It supports any type of category in WordPress is it standard post or custom post.<\/li>\n<li>It locks all types of custom post type category.<\/li>\n<li>Whether it is a content of any type or any sub categories, they get\u2019s protected automatically with password protection.<\/li>\n<li>Supports multiple passwords for each category.<\/li>\n<li>Permits you to modify WordPress user roles and capabilities.<\/li>\n<li>Creates customizable login page text and button.<\/li>\n<li>Allows you to choose whether to show or hide protected categories and their contents.<\/li>\n<li>Specifying the number of days before users have to re-enter the password is also possible.<\/li>\n<\/ul>\n<p>You can password protect categories in either <strong>Category<\/strong> or post page. If you want to password protect a blog category, head over to <strong>Posts <\/strong>&gt;<strong> Categories<\/strong>.<\/p>\n<p>At the bottom of the form, you will see a new <strong>Visibility<\/strong> box that enables you to password protect categories, as well as make categories available only to <strong>Admin<\/strong> and <strong>Editor<\/strong> user roles. You can also add multiple passwords for the same category.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1568 size-full\" src=\"http:\/\/mandmwebsolutions.com\/blog\/wp-content\/uploads\/2017\/07\/password-protected.jpg\" alt=\"enter password\" width=\"769\" height=\"432\" \/><\/p>\n<p>You need to note that the password is linked to that specific category. If a user logs in with a password for that category, he\/she will automatically be directed to that specific category.<\/p>\n<p>An important thing you need to keep in mind when building your password structure is that a user after entering the password automatically gains access to all subcategories of the category.<\/p>\n<p>So, this is how you can password protect a category in WordPress without using a plugin.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to password protect categories of WordPress site without any plugins and thus not letting others to see everything on your site.<\/p>\n","protected":false},"author":1,"featured_media":1911,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[36],"tags":[53,59,58,50,47,46,60,57,52,51,44,45,48,49,56,42,41,43,55,54],"class_list":["post-1909","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","tag-cheap-digital-marketing-agency-kolkata","tag-cheap-facebook-promotion-kolkata","tag-cheap-seo-services-kolkata","tag-digital-marketing-agencies-in-kolkata","tag-digital-marketing-agency-india","tag-digital-marketing-kolkata","tag-facebook-marketing-kolkata","tag-facebook-promotion-kolkata","tag-seo-company-in-kolkata","tag-seo-services-kolkata","tag-social-media-agency-kolkata","tag-social-media-kolkata","tag-social-media-marketing-company-in-kolkata","tag-social-media-marketing-kolkata","tag-social-media-marketing-services-in-kolkata","tag-top-digital-marketing-agencies-in-kolkata","tag-top-digital-marketing-companies-in-kolkata","tag-web-design-company-kolkata","tag-web-designer-kolkata","tag-web-development-company-kolkata"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"http:\/\/mandmwebsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/1909","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/mandmwebsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/mandmwebsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/mandmwebsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/mandmwebsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=1909"}],"version-history":[{"count":5,"href":"http:\/\/mandmwebsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/1909\/revisions"}],"predecessor-version":[{"id":2515,"href":"http:\/\/mandmwebsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/1909\/revisions\/2515"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/mandmwebsolutions.com\/blog\/wp-json\/wp\/v2\/media\/1911"}],"wp:attachment":[{"href":"http:\/\/mandmwebsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=1909"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/mandmwebsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=1909"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/mandmwebsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=1909"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}