{"id":142547,"date":"2021-06-23T08:35:34","date_gmt":"2021-06-23T08:35:34","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/nutsforpress-restricted-contents\/"},"modified":"2025-12-06T10:10:04","modified_gmt":"2025-12-06T10:10:04","slug":"nutsforpress-restricted-contents","status":"publish","type":"plugin","link":"https:\/\/azb.wordpress.org\/plugins\/nutsforpress-restricted-contents\/","author":14052287,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.4","stable_tag":"1.4","tested":"6.9.4","requires":"5.3","requires_php":"7.0.0","requires_plugins":null,"header_name":"NutsForPress Restricted Contents","header_author":"Christian Gatti","header_description":"NutsForPress Restricted Contents allows you to restrict pages, posts and media (images, zip files, pdf) to logged in users only.","assets_banners_color":"333333","last_updated":"2025-12-06 10:10:04","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/paypalme\/ChristianGatti","header_plugin_uri":"https:\/\/www.nutsforpress.com\/","header_author_uri":"https:\/\/profiles.wordpress.org\/christian-gatti\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1916,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0":{"tag":"1.0","author":"Christian Gatti","date":"2021-06-23 08:35:23"},"1.1":{"tag":"1.1","author":"Christian Gatti","date":"2021-07-09 16:23:07"},"1.1.1":{"tag":"1.1.1","author":"Christian Gatti","date":"2021-07-25 13:44:18"},"1.1.2":{"tag":"1.1.2","author":"Christian Gatti","date":"2022-05-06 11:00:16"},"1.1.3":{"tag":"1.1.3","author":"Christian Gatti","date":"2022-07-15 16:41:04"},"1.2":{"tag":"1.2","author":"Christian Gatti","date":"2022-11-04 17:21:14"},"1.3":{"tag":"1.3","author":"Christian Gatti","date":"2023-03-19 10:12:16"},"1.4":{"tag":"1.4","author":"Christian Gatti","date":"2025-12-06 10:10:04"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2552521,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2552521,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2552521,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2552521,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.1.1","1.1.2","1.1.3","1.2","1.3","1.4"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1244,194703,870,1929,1914],"plugin_category":[54,58],"plugin_contributors":[93676],"plugin_business_model":[],"class_list":["post-142547","plugin","type-plugin","status-publish","hentry","plugin_tags-hide","plugin_tags-nutsforpress","plugin_tags-private","plugin_tags-protect","plugin_tags-restrict","plugin_category-security-and-spam-protection","plugin_category-user-management","plugin_contributors-christian-gatti","plugin_committers-christian-gatti"],"banners":{"banner":"https:\/\/ps.w.org\/nutsforpress-restricted-contents\/assets\/banner-772x250.png?rev=2552521","banner_2x":"https:\/\/ps.w.org\/nutsforpress-restricted-contents\/assets\/banner-1544x500.png?rev=2552521","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/nutsforpress-restricted-contents\/assets\/icon-128x128.png?rev=2552521","icon_2x":"https:\/\/ps.w.org\/nutsforpress-restricted-contents\/assets\/icon-256x256.png?rev=2552521","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p><em>Restricted Contents<\/em> is one of the several NutsForPress plugins providing some essential features that WordPress does not offer itself or offers only partially.\u00a0\u00a0\u00a0<\/p>\n\n<p>Install and activate <strong>Restricted Contents<\/strong> plugin and you can easily mark as restricted: images, pdf file, zip files, pages, posts and custom posts, deciding to grant access to a specific role or to any logged-in users.<\/p>\n\n<p>Mark as restricted your <strong>media<\/strong> by the checkbox that you'll find at the right sidebar of the selected element, copy and paste the provided alternative URL to link your media into pages and posts.<\/p>\n\n<p>When \"Is restricted\" checkbox is flagged, the selected element will get downloadable only to logged-in users and only through the alternative URL (original URL will be protected through a htaccess rule). When \"Is restricted\" checkbox is not flagged, the media element will be downloadable for anyone, through both the original and the alternative URL.<\/p>\n\n<p>Mark as restricted your <strong>pages and posts<\/strong> too by the checkbox that you'll find at the right sidebar of the post\/page editor.<\/p>\n\n<p>If a not logged-in user tries to access to a restricted content, he will be redirected to the login page or to the page you have defined into \"Restricted Contents\" plugin options.\u00a0<\/p>\n\n<p>Furthermore, you can grant access to post or pages only to a specific role, to more roles or to every logged-in users: chose from the dropdown menu, just after the \"is restricted\" checkbox.<\/p>\n\n<p>In association with <a href=\"https:\/\/wordpress.org\/plugins\/main-entrance\/\">Main Entrance<\/a>, Restricted Contents helps you to build a restricted content page, for allowing to download documents only to logged in users.<\/p>\n\n<p>Restricted Contents is full compliant with WPML (you don't need to translate any option value)<\/p>\n\n<p>Take a look at the others <a href=\"https:\/\/wordpress.org\/plugins\/search\/nutsforpress\/\">NutsForPress Plugins<\/a><\/p>\n\n<p><strong>Whatever is worth doing at all is worth doing well<\/strong><\/p>\n\n<h3>Translations<\/h3>\n\n<ul>\n<li>English: default language<\/li>\n<li>Italian: entirely translated<\/li>\n<\/ul>\n\n<h3>Credits<\/h3>\n\n<ul>\n<li>Very many thanks to <a href=\"https:\/\/dkr.srl\/\">DkR<\/a> and <a href=\"https:\/\/sviluppoeuropa.it\/\">SviluppoEuropa<\/a>!<\/li>\n<\/ul>\n\n<!--section=installation-->\n<h4>Installation From Plugin Repository<\/h4>\n\n<ul>\n<li>Into your WordPress plugin section, press \"Add New\"<\/li>\n<li>Use \"NutsForPress\" as search term<\/li>\n<li>Click on <em>Install Now<\/em> on <em>NutsForPress Restricted Contents<\/em> into result page, then click on <em>Activate<\/em><\/li>\n<li>Setup \"NutsForPress Restricted Contents\" options by clicking on the link you find under the \"NutsForPress\" menu<\/li>\n<li>Enjoy!<\/li>\n<\/ul>\n\n<h4>Manual Installation<\/h4>\n\n<ul>\n<li>Download <em>NutsForPress Restricted Contents<\/em> from https:\/\/wordpress.org\/plugins\/nutsforpress<\/li>\n<li>Into your WordPress plugin section, press \"Add New\" then press \"Load Plugin\"<\/li>\n<li>Choose nutsforpress-smtp-mail.zip file from your local download folder<\/li>\n<li>Press \"Install Now\"<\/li>\n<li>Activate <em>NutsForPress Restricted Contents<\/em><\/li>\n<li>Setup \"NutsForPress Restricted Contents\" options by clicking on the link you find under the \"NutsForPress\" menu<\/li>\n<li>Enjoy!<\/li>\n<\/ul>\n\n<!--section=changelog-->\n<h4>1.4<\/h4>\n\n<ul>\n<li>Fixed a bug that caused the reset of the options of this plugin when WPML was installed and activated after the configuration of this plugin<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Tested up to WordPress 6.2<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Now translations are provided by translate.wordpress.org, instead of being locally provided: please contribute!<\/li>\n<\/ul>\n\n<h4>1.1.3<\/h4>\n\n<ul>\n<li>Fixed a bug that caused an error with the function is_plugin_active<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Fixed a serious bug that caused an error when using this plugin with a different page builder then Elementor<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Fixed a bug that displayed some option messages that should have been kept hidden by a css rule miswritten by an escape rule<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Fixed a bug which prevented from editing with Elementor the restricted pages with access granted to a role different from the admin or the editor<\/li>\n<li>Fixed a bug which caused the deletion of the htaccess rules for all the restricted media during permalink rebuild<\/li>\n<li>Fixed a bug that, in some cases, prevented to set media as restricted <\/li>\n<li>Added the correct class\/style to \"is restricted\" checkbox into media element<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>First full working release<\/li>\n<\/ul>","raw_excerpt":"NutsForPress Restricted Contents allows you to restrict pages, posts and media (images, zip files, pdf) to logged in users only.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/142547","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=142547"}],"author":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/christian-gatti"}],"wp:attachment":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=142547"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=142547"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=142547"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=142547"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=142547"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=142547"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}