{"id":42995,"date":"2016-04-06T02:39:51","date_gmt":"2016-04-06T02:39:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/simple-restrict\/"},"modified":"2025-12-02T10:46:16","modified_gmt":"2025-12-02T10:46:16","slug":"simple-restrict","status":"publish","type":"plugin","link":"https:\/\/so.wordpress.org\/plugins\/simple-restrict\/","author":18374306,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.8","stable_tag":"1.2.8","tested":"6.9.4","requires":"3.4","requires_php":"","requires_plugins":null,"header_name":"Simple Restrict","header_author":"WPChill","header_description":"","assets_banners_color":"23282d","last_updated":"2025-12-02 10:46:16","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/wpchill.com","rating":4.9,"author_block_rating":0,"active_installs":1000,"downloads":33179,"num_ratings":15,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"awakensolutions","date":"2016-04-06 18:09:36"},"1.0.1":{"tag":"1.0.1","author":"awakensolutions","date":"2016-04-06 19:53:32"},"1.0.2":{"tag":"1.0.2","author":"awakensolutions","date":"2016-04-23 20:44:13"},"1.0.3":{"tag":"1.0.3","author":"awakensolutions","date":"2016-04-23 21:21:44"},"1.0.4":{"tag":"1.0.4","author":"awakensolutions","date":"2018-03-01 17:58:19"},"1.1.0":{"tag":"1.1.0","author":"awakensolutions","date":"2018-09-02 19:18:16"},"1.2.0":{"tag":"1.2.0","author":"awakensolutions","date":"2018-11-07 06:40:19"},"1.2.1":{"tag":"1.2.1","author":"awakensolutions","date":"2018-11-19 18:12:22"},"1.2.2":{"tag":"1.2.2","author":"awakensolutions","date":"2018-12-09 07:58:24"},"1.2.3":{"tag":"1.2.3","author":"awakensolutions","date":"2019-02-02 15:37:33"},"1.2.4":{"tag":"1.2.4","author":"awakensolutions","date":"2019-02-07 21:52:09"},"1.2.5":{"tag":"1.2.5","author":"awakensolutions","date":"2019-07-24 02:55:42"},"1.2.6":{"tag":"1.2.6","author":"awakensolutions","date":"2024-02-04 23:16:57"},"1.2.7":{"tag":"1.2.7","author":"raldea89","date":"2024-07-18 12:56:22"},"1.2.8":{"tag":"1.2.8","author":"altesin","date":"2025-12-02 10:46:16"}},"upgrade_notice":{"1.0.0":"<ul>\n<li>First installation<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":1,"5":14},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1388473,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":1388473,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":1388473,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":1388472,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.1.0","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","1.2.7","1.2.8"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":1387776,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":1387776,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":1387776,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":1387776,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":1387776,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":1387776,"resolution":"6","location":"assets","locale":""},"screenshot-7.png":{"filename":"screenshot-7.png","revision":1387776,"resolution":"7","location":"assets","locale":""}},"screenshots":{"1":"New Permissions taxonomy added to pages","2":"Permission management screen","3":"Permissions metabox on the Edit Page screen","4":"Permissions being added using page Quick Edit","5":"Permissions column in the Users screen","6":"Permissions assigned on the New User screen (and permissions can be edited for existing users)","7":"Settings page where you can change the message that appears on restricted pages (including the ability to add media and formatting). Note: You can now also choose to redirect the user to the login page instead of showing the restriction message."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2470,1244,1935,1914,35283],"plugin_category":[],"plugin_contributors":[88300,192702],"plugin_business_model":[],"class_list":["post-42995","plugin","type-plugin","status-publish","hentry","plugin_tags-authorization","plugin_tags-hide","plugin_tags-permission","plugin_tags-restrict","plugin_tags-restrict-pages","plugin_contributors-awakensolutions","plugin_contributors-wpchill","plugin_committers-altesin","plugin_committers-cristianraiber-1","plugin_committers-wpchill","plugin_support_reps-andreic86","plugin_support_reps-cristianraiber-1"],"banners":{"banner":"https:\/\/ps.w.org\/simple-restrict\/assets\/banner-772x250.png?rev=1388472","banner_2x":"https:\/\/ps.w.org\/simple-restrict\/assets\/banner-1544x500.png?rev=1388473","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/simple-restrict\/assets\/icon-128x128.png?rev=1388473","icon_2x":"https:\/\/ps.w.org\/simple-restrict\/assets\/icon-256x256.png?rev=1388473","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/simple-restrict\/assets\/screenshot-1.png?rev=1387776","caption":"New Permissions taxonomy added to pages"},{"src":"https:\/\/ps.w.org\/simple-restrict\/assets\/screenshot-2.png?rev=1387776","caption":"Permission management screen"},{"src":"https:\/\/ps.w.org\/simple-restrict\/assets\/screenshot-3.png?rev=1387776","caption":"Permissions metabox on the Edit Page screen"},{"src":"https:\/\/ps.w.org\/simple-restrict\/assets\/screenshot-4.png?rev=1387776","caption":"Permissions being added using page Quick Edit"},{"src":"https:\/\/ps.w.org\/simple-restrict\/assets\/screenshot-5.png?rev=1387776","caption":"Permissions column in the Users screen"},{"src":"https:\/\/ps.w.org\/simple-restrict\/assets\/screenshot-6.png?rev=1387776","caption":"Permissions assigned on the New User screen (and permissions can be edited for existing users)"},{"src":"https:\/\/ps.w.org\/simple-restrict\/assets\/screenshot-7.png?rev=1387776","caption":"Settings page where you can change the message that appears on restricted pages (including the ability to add media and formatting). Note: You can now also choose to redirect the user to the login page instead of showing the restriction message."}],"raw_content":"<!--section=description-->\n<p>This plugin allows you to easily mark certain pages with \"Permissions\" and only users with those permissions will be allowed to see the contents of the page.<\/p>\n\n<ul>\n<li><p><strong>Page Permissions:<\/strong> This plugin adds a new Permissions taxonomy to your pages. Administrators can create\/assign new permissions from the Edit Page screen (you can also use the Quick Edit link). You can add\/edit\/delete permissions from the Permissions sub-menu under the Pages menu. Pages with no assigned permissions can be seen by everyone.<\/p><\/li>\n<li><p><strong>User Permissions:<\/strong> Administrators can add\/remove permissions from a user using the checkboxes on the Edit User screen. The All Users page has a column that shows the permissions assigned to each user.<\/p><\/li>\n<li><p><strong>Restriction Message:<\/strong> If a page has permissions assigned, the content will only be visible to users that have one of those same permissions assigned. Otherwise, the content will be replaced by a generic message or a custom message which can be defined in the plugin settings using the standard WordPress editor (including the ability to add media and formatting).<\/p><\/li>\n<li><p><strong>Redirect to login:<\/strong> Instead of a restriction message, you can choose to have users get redirected to the login page.<\/p><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the contents of <code>simple-restrict.zip<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20do%20i%20restrict%20access%20to%20a%20page%3F'><h3>How do I restrict access to a page?<\/h3><\/dt>\n<dd><p>Go to the Edit Page screen for the page you want to restrict, and find the new \"Permissions\" section. Create and assign a new permission (e.g. \"Gold subscriber\") and update your page. Now this page content will only be viewable by users who have this same permission assigned to them.<\/p><\/dd>\n<dt id='how%20do%20i%20allow%20a%20user%20to%20see%20a%20restricted%20page%3F'><h3>How do I allow a user to see a restricted page?<\/h3><\/dt>\n<dd><p>If a page is restricted, it's content will only be viewable by users who have this same permission assigned to them. To assign a permission to a user, go to the Edit User page and you will see all possible permissions listed. Put a checkmark beside the Permissions you want to assign to this user. Save the changes, and the user will be allowed to see the page.<\/p><\/dd>\n<dt id='if%20a%20page%20has%20multiple%20permissions%20assigned%2C%20does%20a%20user%20need%20to%20have%20all%20those%20permissions%20assigned%20to%20her%2Fhim%20in%20order%20to%20see%20the%20page%3F'><h3>If a page has multiple permissions assigned, does a user need to have all those permissions assigned to her\/him in order to see the page?<\/h3><\/dt>\n<dd><p>A user only needs to have one of the page permissions assigned to her\/him in order to see that page. For example, if a page is assigned the permission \"Gold subscriber\" and another permission \"Silver subscriber\", a user who is assigned the permission \"Silver subscriber\" will see the page.<\/p><\/dd>\n<dt id='what%20about%20pages%20with%20no%20permissions%20assigned%20to%20them%3F'><h3>What about pages with no permissions assigned to them?<\/h3><\/dt>\n<dd><p>They are visible to everyone.<\/p><\/dd>\n<dt id='will%20this%20plugin%20restrict%20posts%3F'><h3>Will this plugin restrict posts?<\/h3><\/dt>\n<dd><p>No. This plugin is only for pages.<\/p><\/dd>\n<dt id='will%20this%20plugin%20restrict%20pages%20that%20use%20custom%20page%20templates%3F'><h3>Will this plugin restrict pages that use custom page templates?<\/h3><\/dt>\n<dd><p>It depends. If your page template uses the_content() to retrieve the main content, and does not loop through any posts, then yes this plugin will restrict the page. Otherwise, see the answer below.<\/p><\/dd>\n<dt id='will%20this%20plugin%20restrict%20pages%20that%20show%20posts%20%28archive%20pages%29%3F'><h3>Will this plugin restrict pages that show posts (archive pages)?<\/h3><\/dt>\n<dd><p>No. This plugin hides the main content of the page (the_content()). Any page template that loops through posts, be they default posts or custom post types, will continue to show those posts. A more advanced content restriction plugin (usually paid) would be required for your needs.<\/p><\/dd>\n<dt id='what%20wordpress%20user%20capabilities%20are%20required%20for%20the%20different%20functionalities%20of%20this%20plugin%3F'><h3>What WordPress user capabilities are required for the different functionalities of this plugin?<\/h3><\/dt>\n<dd><p>The <a href=\"https:\/\/codex.wordpress.org\/Roles_and_Capabilities#manage_options\">manage_options<\/a> capability is required to edit plugin settings.<\/p>\n\n<p>The <a href=\"https:\/\/codex.wordpress.org\/Roles_and_Capabilities#edit_users\">edit_users<\/a> capability is required to assign permission to users.<\/p>\n\n<p>Any user who has the rights to edit a page also has the rights to assign permissions to the page and create new permissions.<\/p><\/dd>\n<dt id='how%20can%20i%20contribute%20to%20the%20code%3F'><h3>How can I contribute to the code?<\/h3><\/dt>\n<dd><p>The plugin is <a href=\"https:\/\/github.com\/GitHubGreg\/SimpleRestrict\">on GitHub<\/a>, feel free to submit a pull request.<\/p><\/dd>\n<dt id='what%20languages%20does%20this%20plugin%20support%2C%20and%20how%20can%20i%20help%20translate%20it%3F'><h3>What languages does this plugin support, and how can I help translate it?<\/h3><\/dt>\n<dd><p>This plugin was released in English and French, and anyone can add additional translations <a href=\"https:\/\/translate.wordpress.org\/projects\/wp-plugins\/simple-restrict\">from here<\/a>.<\/p><\/dd>\n<dt id='where%20do%20i%20report%20security%20bugs%20found%20in%20this%20plugin%3F'><h3>Where do I report security bugs found in this plugin?<\/h3><\/dt>\n<dd><p>Please report security bugs found in the source code of the Simple Restrict plugin through the <a href=\"https:\/\/patchstack.com\/database\/vdp\/9e5fbef7-10f5-4464-b09a-3e6a83b0b170\">Patchstack Vulnerability Disclosure  Program<\/a>. The Patchstack team will assist you with verification, CVE assignment, and notify the developers of this plugin.\"<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Updates to translations<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Switch to translate.wordpress.org.<\/li>\n<li>Testing on WordPress 4.5.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Updates to readme and descriptions.<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Update to show Tested up to WordPress 4.9.4<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Adds option to redirect user to login page instead of showing the restriction message (thanks to ClearPathDigital)<\/li>\n<li>Updates to readme, description and FAQ to include GitHub URL.<\/li>\n<li>Tested up to WordPress 4.9.8<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Allows restriction of homepage<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Fixes a bug that caused the default restriction message to be '' (empty text) instead of the plugin's usual default.<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Adds compatibility with WordPress 5.0 (Gutenberg editor)<\/li>\n<\/ul>\n\n<h4>1.2.3<\/h4>\n\n<ul>\n<li>Minor bug fix with Permissions column on Users page<\/li>\n<\/ul>\n\n<h4>1.2.4<\/h4>\n\n<ul>\n<li>Changing the WordPress capability required for editing a user's permissions from manage_options to edit_users.<\/li>\n<\/ul>\n\n<h4>1.2.5<\/h4>\n\n<ul>\n<li>Fixes a bug that would erase user permissions when they edited their own profile.<\/li>\n<\/ul>\n\n<h4>1.2.6<\/h4>\n\n<ul>\n<li>Adds 'Security Risk - Seeking Adoption' message and adds 'adopt-me' tag. Do not use this plugin until a new version is released. The team at WordFence has advised me of a security risk with this plugin. I am no longer in a position to develop or update this plugin. I am therefore putting this plugin up for adoption as described <a href=\"https:\/\/artiss.blog\/2023\/11\/wordpress-plugin-readme-tags-what-you-need-to-know\/\">here<\/a>. If nobody expresses interest in taking over this plugin within the next 30 days I will be removing it from the WordPress plugin repository.<\/li>\n<\/ul>\n\n<h4>1.2.7 - 14.02.2024<\/h4>\n\n<p>Fixed: Security issue<\/p>\n\n<h4>1.2.8 - 28.11.2024<\/h4>\n\n<p>Fixed: Security issue ( Thanks to Francesco Carlucci )<\/p>","raw_excerpt":"Restrict pages based on permissions assigned to pages and granted in user profiles.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/42995","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=42995"}],"author":[{"embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wpchill"}],"wp:attachment":[{"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=42995"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=42995"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=42995"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=42995"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=42995"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=42995"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}