{"id":32860,"date":"2014-11-14T13:03:52","date_gmt":"2014-11-14T13:03:52","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/simplerestrict\/"},"modified":"2014-11-27T13:42:47","modified_gmt":"2014-11-27T13:42:47","slug":"simplerestrict","status":"closed","type":"plugin","link":"https:\/\/br.wordpress.org\/plugins\/simplerestrict\/","author":9782929,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.2","stable_tag":"trunk","tested":"4.0.38","requires":"3.6","requires_php":"","requires_plugins":"","header_name":"SimpleRestrict","header_author":"Dallas Read","header_description":"","assets_banners_color":"5b90b1","last_updated":"2014-11-27 13:42:47","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=NX9NZCDNRD3CC","header_plugin_uri":"http:\/\/WPSimpleRestrict.com","header_author_uri":"http:\/\/www.DallasRead.com","rating":4.7,"author_block_rating":0,"active_installs":50,"downloads":1861,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":{"1.0.2":"<ul>\n<li>Updated documentation.<\/li>\n<\/ul>","1.0.1":"<ul>\n<li>Added the [restrict only=&quot;administrator,editor&quot; except=&quot;public&quot;] shortcode!<\/li>\n<\/ul>","1.0.0":"<ul>\n<li>Initial public release!<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":"1","4":0,"5":"6"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1025739","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1025739","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1025739","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1025742","resolution":"1","location":"assets"}},"screenshots":{"1":"The SimpleRestrict meta box."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[895,1914,56960],"plugin_category":[54],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-32860","plugin","type-plugin","status-closed","hentry","plugin_tags-permissions","plugin_tags-restrict","plugin_tags-restrict-page","plugin_category-security-and-spam-protection"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/simplerestrict_5b90b1.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/simplerestrict\/assets\/screenshot-1.png?rev=1025742","caption":"The SimpleRestrict meta box."}],"raw_content":"<!--section=description-->\n<p><strong>What can I do with SimpleRestrict?<\/strong><\/p>\n\n<p>SimpleRestrict allows you to restrict access to specific user roles on a page-by-page basis. For unauthorized users, you can set where the page is redirected.<\/p>\n\n<p>You can also manage who sees what content on a page using the <strong>[restrict]<\/strong> shortcode. It takes two attributes: only &amp; except. Each attribute takes a comma separated list of user roles. For example:<\/p>\n\n<p><strong>&#091;restrict only=\"administrator\"&#093;My Restricted Content&#091;\/restrict&#093;<\/strong> - only the admin will see \"My Restricted Content\"<\/p>\n\n<p><strong>&#091;restrict only=\"administrator,editor\"&#093;My Restricted Content&#091;\/restrict&#093;<\/strong> - only the admin and editors will see \"My Restricted Content<strong>\"<\/strong><\/p>\n\n<p><strong>&#091;restrict only=\"administrator,editor\" except=\"editor\"&#093;My Restricted Content&#091;\/restrict&#093;<\/strong> - the only attribute can be overridden by the except attribute (the editor can no longer see the content)<\/p>\n\n<p><strong>How do I use SimpleRestrict?<\/strong><\/p>\n\n<ul>\n<li>Go to the Edit page for the Page or Post you wish to protect (works for all \"public\" page\/post types).<\/li>\n<li>On the right sidebar, you'll see the SimpleRestrict box.<\/li>\n<li>Check off which roles are allowed to see the page and save. If you want to redirect them to a particular page (eg. login), enter the URL in the Redirect URL field, otherwise it will simply redirect to the home page.<\/li>\n<li>Alternatively, use the <strong>[restrict only=\"editor\"]This is restricted[\/restrict]<\/strong> shortcode.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Visit the Plugins page. Click \"Add New\", search for \"SimpleRestrict\", and click install. \"Activate\" SimpleRestrict.<\/li>\n<li>Edit any page on your site. In the right sidebar, you'll find a \"SimpleRestrict\" widget. Check off the roles that are allowed to access that page, then \"Save.\"<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How do I use SimpleRestrict?<\/dt>\n<dd><ul>\n<li>Go to the Edit page for the Page or Post you wish to protect (works for all \"public\" page\/post types).<\/li>\n<li>On the right sidebar, you'll see the SimpleRestrict meta box.<\/li>\n<li>Check off which roles are allowed to see the page and save. If you want to redirect them to a particular page (eg. login), enter the URL in the Redirect URL field, otherwise it will simply redirect to the home page.<\/li>\n<li>Alternatively, use the <strong>[restrict only=\"editor\"]This is restricted[\/restrict]<\/strong> shortcode.<\/li>\n<\/ul><\/dd>\n<dt>What if I don't see the SimpleRestrict meta box on the Edit page?<\/dt>\n<dd><ul>\n<li>Make sure the plugin is Activated.<\/li>\n<li>In the top right corner of the page, click \"Screen Options.\" Ensure \"SimpleRestrict\" is checked.<\/li>\n<\/ul><\/dd>\n<dt>What is SimpleRestrict?<\/dt>\n<dd><ul>\n<li>SimpleRestrict allows you to restrict access to specific user roles on a page-by-page basis.<\/li>\n<\/ul><\/dd>\n\n<\/dl>","raw_excerpt":"SimpleRestrict allows you to restrict access to specific user roles on a page-by-page basis.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/32860","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=32860"}],"author":[{"embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/anonymized-9782929"}],"wp:attachment":[{"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=32860"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=32860"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=32860"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=32860"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=32860"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=32860"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}