{"id":87582,"date":"2018-06-25T11:46:55","date_gmt":"2018-06-25T11:46:55","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/anonymous-restricted-content\/"},"modified":"2024-11-18T12:11:33","modified_gmt":"2024-11-18T12:11:33","slug":"anonymous-restricted-content","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/anonymous-restricted-content\/","author":254384,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.6.6","stable_tag":"1.6.6","tested":"6.7.5","requires":"5.3","requires_php":"","requires_plugins":null,"header_name":"Anonymous Restricted Content","header_author":"Taras Sych","header_description":"Simple plugin which allow you to restrict access to selected content (posts\/pages\/categories) for NOT LOGGED IN users.","assets_banners_color":"000000","last_updated":"2024-11-18 12:11:33","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/anonymous-restricted-content\/","header_author_uri":"https:\/\/wordpress.org\/plugins\/anonymous-restricted-content\/","rating":4.3,"author_block_rating":0,"active_installs":1000,"downloads":26739,"num_ratings":9,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"cayenne","date":"2018-06-25 11:48:45"},"1.1.2":{"tag":"1.1.2","author":"cayenne","date":"2019-05-14 20:37:43"},"1.2.0":{"tag":"1.2.0","author":"cayenne","date":"2019-05-14 20:34:41"},"1.2.3":{"tag":"1.2.3","author":"cayenne","date":"2019-05-21 16:56:31"},"1.3":{"tag":"1.3","author":"cayenne","date":"2020-03-13 11:22:49"},"1.4.1":{"tag":"1.4.1","author":"cayenne","date":"2020-11-03 09:58:08"},"1.6":{"tag":"1.6","author":"cayenne","date":"2024-11-18 12:09:08"},"1.6.1":{"tag":"1.6.1","author":"cayenne","date":"2024-11-18 12:09:08"},"1.6.2":{"tag":"1.6.2","author":"cayenne","date":"2024-11-18 12:09:08"},"1.6.4":{"tag":"1.6.4","author":"cayenne","date":"2024-11-18 12:09:08"},"1.6.5":{"tag":"1.6.5","author":"cayenne","date":"2024-11-18 12:09:08"},"1.6.6":{"tag":"1.6.6","author":"cayenne","date":"2024-11-18 12:11:33"}},"upgrade_notice":[],"ratings":{"1":1,"2":0,"3":0,"4":2,"5":6},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":1898412,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":1898412,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":1898412,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":1898412,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1.2","1.2.0","1.2.3","1.3","1.4.1","1.6","1.6.1","1.6.2","1.6.4","1.6.5","1.6.6"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2260252,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2260252,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2260252,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2260252,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":2092490,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":2369773,"resolution":"6","location":"assets","locale":""},"screenshot-7.png":{"filename":"screenshot-7.png","revision":2459128,"resolution":"7","location":"assets","locale":""}},"screenshots":{"1":"Restrict access to any post for not logged-in users.","2":"Hide any page from public access.","3":"Not logged-in users are redirected to Login screen in case of trying access restricted content.","4":"Admin settings page","5":"Custom URL to redirect anonymous users","6":"Bulk restrict feature","7":"Alternative AJAX login screen"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1912,182970,5237,158382,41789],"plugin_category":[58],"plugin_contributors":[158384],"plugin_business_model":[],"class_list":["post-87582","plugin","type-plugin","status-publish","hentry","plugin_tags-access-control","plugin_tags-content-control","plugin_tags-hide-content","plugin_tags-restrict-anonymous","plugin_tags-restricted-access","plugin_category-user-management","plugin_contributors-cayenne","plugin_committers-cayenne"],"banners":{"banner":"https:\/\/ps.w.org\/anonymous-restricted-content\/assets\/banner-772x250.jpg?rev=1898412","banner_2x":"https:\/\/ps.w.org\/anonymous-restricted-content\/assets\/banner-1544x500.jpg?rev=1898412","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/anonymous-restricted-content\/assets\/icon-128x128.jpg?rev=1898412","icon_2x":"https:\/\/ps.w.org\/anonymous-restricted-content\/assets\/icon-256x256.jpg?rev=1898412","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/anonymous-restricted-content\/assets\/screenshot-1.png?rev=2260252","caption":"Restrict access to any post for not logged-in users."},{"src":"https:\/\/ps.w.org\/anonymous-restricted-content\/assets\/screenshot-2.png?rev=2260252","caption":"Hide any page from public access."},{"src":"https:\/\/ps.w.org\/anonymous-restricted-content\/assets\/screenshot-3.png?rev=2260252","caption":"Not logged-in users are redirected to Login screen in case of trying access restricted content."},{"src":"https:\/\/ps.w.org\/anonymous-restricted-content\/assets\/screenshot-4.png?rev=2260252","caption":"Admin settings page"},{"src":"https:\/\/ps.w.org\/anonymous-restricted-content\/assets\/screenshot-5.png?rev=2092490","caption":"Custom URL to redirect anonymous users"},{"src":"https:\/\/ps.w.org\/anonymous-restricted-content\/assets\/screenshot-6.png?rev=2369773","caption":"Bulk restrict feature"},{"src":"https:\/\/ps.w.org\/anonymous-restricted-content\/assets\/screenshot-7.png?rev=2459128","caption":"Alternative AJAX login screen"}],"raw_content":"<!--section=description-->\n<p>This plugin is as simple as you expected!\nAnd it support latest Wordpress Gutenberg editor now!<\/p>\n\n<p>Mark the content you want to hide as restricted with just a checkbox - and it's done!<\/p>\n\n<p>In case anonymous user will try to get access to restricted page or post - it will be redirected to Wordpress Login page first.\nOr you can specify the exact URL (internal or external) to redirect anonymous users to.<\/p>\n\n<p>After successful authorization, user is redirected back to the requested page.<\/p>\n\n<p>Also, it hides restricted posts from Archive and Categories pages, RSS feed and from Latest Comments\/Posts widgets!<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>anonymous-restricted-content<\/code> folder into the <code>\/wp-content\/plugins\/<\/code> directory or use automatic WP Plugin Installer.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>All done, you can start using it!<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20to%20hide%20post%2Fpage%20from%20public%20access%3F'><h3>How to hide post\/page from public access?<\/h3><\/dt>\n<dd><p>Go to post\/page edit screen in WP Admin, and switch ON checkbox for \"Restricted for anonymous users\". You can find it in the sidebar, under Document -&gt; Status &amp; Visibility.<\/p><\/dd>\n<dt id='i%20set%20post%20to%20restricted%2C%20but%20it%27s%20still%20visible%3F%21'><h3>I set post to restricted, but it's still visible?!<\/h3><\/dt>\n<dd><p>It usually happens when you forget to press Update button.<\/p><\/dd>\n<dt id='i%27m%20not%20idiot%2C%20and%20i%20saved%20my%20post%20but%20it%27s%20still%20visible%3F%21'><h3>I'm not idiot, and I saved my post but it's still visible?!<\/h3><\/dt>\n<dd><p>Please, use this url to submit support ticket: https:\/\/wordpress.org\/support\/plugin\/anonymous-restricted-content\/<\/p><\/dd>\n<dt id='what%20happens%20to%20users%20who%20are%20restricted%20%3F'><h3>What happens to users who are restricted ?<\/h3><\/dt>\n<dd><p>You can redirect them to any url you need or to the default WP login screen.<\/p><\/dd>\n<dt id='can%20i%20change%20redirect%20url%20%3F'><h3>Can I change redirect URL ?<\/h3><\/dt>\n<dd><p>Yes, you can find this option under Settings -&gt; Restricted Content -&gt; Redirect Options.<\/p><\/dd>\n<dt id='can%20i%20set%20custom%20notification%20message%20for%20users%20who%20was%20restricted%20%3F'><h3>Can I set custom notification message for users who was restricted ?<\/h3><\/dt>\n<dd><p>Yes, look at Settings -&gt; Restricted Content -&gt; Login Screen Message.<\/p><\/dd>\n<dt id='all%20restricted%20options%20are%20reset%20after%20plugin%20re-install.%20what%27s%20going%20on%3F'><h3>All restricted options are reset after plugin re-install. What's going on?<\/h3><\/dt>\n<dd><p>We strictly care about your database size, and clean up all the data created by this plugin during its lifetime when plugin is uninstalled.<\/p><\/dd>\n<dt id='what%20about%20categories%3F'><h3>What about categories?<\/h3><\/dt>\n<dd><p>Unfortunately, we refused to support this feature in latest version, cause to changes in WP which made it nearly impossible to do.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.6.6<\/h4>\n\n<ul>\n<li>Sensitive Information Exposure vulnerability fixed<\/li>\n<\/ul>\n\n<h4>1.6.5<\/h4>\n\n<ul>\n<li>Fixed bug with access to restricted content for authorized users via REST API<\/li>\n<\/ul>\n\n<h4>1.6.4<\/h4>\n\n<ul>\n<li>Fixed issue with restricted content in REST API<\/li>\n<\/ul>\n\n<h4>1.6.3<\/h4>\n\n<ul>\n<li>Fixed issue with posts listing<\/li>\n<\/ul>\n\n<h4>1.6.2<\/h4>\n\n<ul>\n<li>Restricted content in REST API<\/li>\n<\/ul>\n\n<h4>1.6.1<\/h4>\n\n<ul>\n<li>Tested up to WP 6.2.2<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>Compatibility errors<\/li>\n<li>Tested up to WP 6.2<\/li>\n<\/ul>\n\n<h4>1.5.5<\/h4>\n\n<ul>\n<li>Added support to be restricted by category and tag - PRO<\/li>\n<li>Fixed error display on settings page<\/li>\n<li>Tested up to WP 6.0<\/li>\n<\/ul>\n\n<h4>1.5.4<\/h4>\n\n<ul>\n<li>fixed issue with AJAX login screen on mobile<\/li>\n<\/ul>\n\n<h4>1.5.3<\/h4>\n\n<ul>\n<li>JS scripts included into translations<\/li>\n<li>Tested up to WP 5.7<\/li>\n<\/ul>\n\n<h4>1.5.2<\/h4>\n\n<ul>\n<li>Started work on plugin translation<\/li>\n<li>Added Deutch and Ukrainian languages<\/li>\n<\/ul>\n\n<h4>1.5.1<\/h4>\n\n<ul>\n<li>Added \"Go Back\" button on AJAX login screen<\/li>\n<li>Minor typo and styling fixes<\/li>\n<\/ul>\n\n<h4>1.5.0<\/h4>\n\n<ul>\n<li>AJAX login screen<\/li>\n<\/ul>\n\n<h4>1.4.1<\/h4>\n\n<ul>\n<li>Added timecode to redirect urls to prevent caching issues<\/li>\n<\/ul>\n\n<h4>1.4.0<\/h4>\n\n<ul>\n<li>Bulk restriction. Restriction status in Posts\/Pages list.<\/li>\n<li>Tested with brand new WP 5.5<\/li>\n<\/ul>\n\n<h4>1.3.2<\/h4>\n\n<ul>\n<li>Resolved issue with Classic Editor and Yoast plugins compatibility.<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Fixed problem with \"Undefined variable: is_content_restricted ...\", my apologies about it!<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Stopped supporting restricted categories!<\/li>\n<li>Restricted pages are hidden from default primary menu.<\/li>\n<li>New, customizable message for users who forced to login screen.<\/li>\n<li>More efficient restriction function to cover even more cases.<\/li>\n<li>Speed and coding optimisation.<\/li>\n<\/ul>\n\n<h4>1.2.3<\/h4>\n\n<ul>\n<li>Added Redirect URL option to Settings page<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Wordpress 5.2 Compatible<\/li>\n<li>Restricted posts hidden in archive<\/li>\n<li>Restricted posts hidden in Latest Posts widget<\/li>\n<li>Comments to restricted posts hidden in Latest Comments Widget<\/li>\n<li>Restricted posts hidden in Rss Feed<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Minor fixes related to Gutenberg editor<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Gutenberg compatibility<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>WordPress 5.0 compatibility<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Added Restricted categories<\/li>\n<li>More efficient restricted options processing<\/li>\n<li>Prepared plugin to be uploaded to Wordpress.org storage<\/li>\n<\/ul>\n\n<h4>0.5<\/h4>\n\n<ul>\n<li>First version of plugin with just basic functions<\/li>\n<\/ul>","raw_excerpt":"Simple but yet effective plugin to hide selected posts and pages from anonymous users.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/87582","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=87582"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/cayenne"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=87582"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=87582"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=87582"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=87582"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=87582"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=87582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}