{"id":53790,"date":"2017-01-23T04:11:30","date_gmt":"2017-01-23T04:11:30","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/lh-restricted-post-status\/"},"modified":"2017-12-18T06:31:30","modified_gmt":"2017-12-18T06:31:30","slug":"lh-restricted-post-status","status":"publish","type":"plugin","link":"https:\/\/cn.wordpress.org\/plugins\/lh-restricted-post-status\/","author":2531614,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.03","stable_tag":"trunk","tested":"4.9.33","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"LH Restricted Post Status","header_author":"Peter Shaw","header_description":"","assets_banners_color":"6863b3","last_updated":"2017-12-18 06:31:30","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/lhero.org\/plugins\/lh-restricted-post-status\/","header_plugin_uri":"https:\/\/lhero.org\/portfolio\/lh-restricted-post-status\/","header_author_uri":"https:\/\/shawfactor.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1131,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2766187,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2766187,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":1580745,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[83,243,166,409,8197],"plugin_category":[],"plugin_contributors":[83584],"plugin_business_model":[],"class_list":["post-53790","plugin","type-plugin","status-publish","hentry","plugin_tags-admin","plugin_tags-pages","plugin_tags-posts","plugin_tags-status","plugin_tags-workflow","plugin_contributors-shawfactor","plugin_committers-shawfactor"],"banners":{"banner":"https:\/\/ps.w.org\/lh-restricted-post-status\/assets\/banner-772x250.png?rev=1580745","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/lh-restricted-post-status\/assets\/icon-128x128.png?rev=2766187","icon_2x":"https:\/\/ps.w.org\/lh-restricted-post-status\/assets\/icon-256x256.png?rev=2766187","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin creates an additional post status 'restricted'. This status functions similarly to setting a post, page, or cpt to private. However with this plugin you can specify which roles have access to restricted posts<\/p>\n\n<p>This is required because natively WordPress follows a publishing\/editorial paradigm and therefore the 'read_private_posts' capability is only granted to admins and editors.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the entire <code>lh-restricted-post-status<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Navigate to Settings-&gt;Restricted Post Status and set the roles that can access restricted posts.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20does%20this%20plugin%20work%3F'><h3>How does this plugin work?<\/h3><\/dt>\n<dd><p>It creates a custom post status 'restrict' and a custom capability 'read_restricted_posts'.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p><strong>1.00 January 20, 2017<\/strong>\n* Initial release<\/p>\n\n<p><strong>1.01 January 23, 2017<\/strong>\n* Better documentation<\/p>\n\n<p><strong>1.02 July 29, 2017<\/strong>\n* Added class check<\/p>\n\n<p><strong>1.03 December 17, 2017<\/strong>\n* used wp_status library<\/p>","raw_excerpt":"Restrict access to posts, pages, and cpts by user role","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/53790","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=53790"}],"author":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/shawfactor"}],"wp:attachment":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=53790"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=53790"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=53790"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=53790"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=53790"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=53790"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}