{"id":146125,"date":"2021-09-01T13:03:36","date_gmt":"2021-09-01T13:03:36","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/restricted-blocks\/"},"modified":"2025-01-05T09:40:52","modified_gmt":"2025-01-05T09:40:52","slug":"restricted-blocks","status":"publish","type":"plugin","link":"https:\/\/mai.wordpress.org\/plugins\/restricted-blocks\/","author":13291309,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.13","stable_tag":"1.13","tested":"6.7.5","requires":"5.0","requires_php":"5.6","requires_plugins":null,"header_name":"Restricted Blocks","header_author":"DAEXT","header_description":"Restricts access to Gutenberg blocks based on a great variety of conditions. (Lite Version)","assets_banners_color":"8790be","last_updated":"2025-01-05 09:40:52","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/daext.com","header_plugin_uri":"","header_author_uri":"https:\/\/daext.com","rating":5,"author_block_rating":0,"active_installs":100,"downloads":3300,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.10":{"tag":"1.10","author":"daext","date":"2021-09-01 13:03:11"},"1.11":{"tag":"1.11","author":"daext","date":"2023-11-08 09:56:53"},"1.12":{"tag":"1.12","author":"daext","date":"2024-10-15 11:57:19"},"1.13":{"tag":"1.13","author":"daext","date":"2025-01-05 09:40:52"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3216108,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3216108,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":3216108,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3216108,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3216108,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.10","1.11","1.12","1.13"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3217135,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3217135,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3217135,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3217135,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3217135,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3217135,"resolution":"6","location":"assets","locale":""},"screenshot-7.png":{"filename":"screenshot-7.png","revision":3217135,"resolution":"7","location":"assets","locale":""}},"screenshots":{"1":"Restrictions menu.","2":"Visibility conditions of a restriction.","3":"Tools menu.","4":"Maintenance menu.","5":"Options menu in the \"Style\" tab.","6":"Options menu in the \"Advanced\" tab.","7":"Restriction selector in the block settings."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[175240,47354,2487,5237,6309],"plugin_category":[],"plugin_contributors":[82093],"plugin_business_model":[216238],"class_list":["post-146125","plugin","type-plugin","status-publish","hentry","plugin_tags-conditional-blocks","plugin_tags-conditional-content","plugin_tags-dynamic-content","plugin_tags-hide-content","plugin_tags-visibility","plugin_contributors-daext","plugin_business_model-commercial","plugin_committers-daext","plugin_support_reps-devdani"],"banners":{"banner":"https:\/\/ps.w.org\/restricted-blocks\/assets\/banner-772x250.png?rev=3216108","banner_2x":"https:\/\/ps.w.org\/restricted-blocks\/assets\/banner-1544x500.png?rev=3216108","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/restricted-blocks\/assets\/icon.svg?rev=3216108","icon":"https:\/\/ps.w.org\/restricted-blocks\/assets\/icon.svg?rev=3216108","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/restricted-blocks\/assets\/screenshot-1.png?rev=3217135","caption":"Restrictions menu."},{"src":"https:\/\/ps.w.org\/restricted-blocks\/assets\/screenshot-2.png?rev=3217135","caption":"Visibility conditions of a restriction."},{"src":"https:\/\/ps.w.org\/restricted-blocks\/assets\/screenshot-3.png?rev=3217135","caption":"Tools menu."},{"src":"https:\/\/ps.w.org\/restricted-blocks\/assets\/screenshot-4.png?rev=3217135","caption":"Maintenance menu."},{"src":"https:\/\/ps.w.org\/restricted-blocks\/assets\/screenshot-5.png?rev=3217135","caption":"Options menu in the \"Style\" tab."},{"src":"https:\/\/ps.w.org\/restricted-blocks\/assets\/screenshot-6.png?rev=3217135","caption":"Options menu in the \"Advanced\" tab."},{"src":"https:\/\/ps.w.org\/restricted-blocks\/assets\/screenshot-7.png?rev=3217135","caption":"Restriction selector in the block settings."}],"raw_content":"<!--section=description-->\n<p>Restricted Blocks is a WordPress plugin that allows you to restrict access to specific Gutenberg blocks based on a great variety of conditions.<\/p>\n\n<p>You can, for example, restrict content based on the user role, conditionally display content based on the user device, make parts of the post unavailable to search engines, and more.<\/p>\n\n<h3>Pro Version<\/h3>\n\n<p>For professional users, we distribute a <a href=\"https:\/\/daext.com\/restricted-blocks\/\">Pro Version<\/a> of this plugin which includes additional types of restrictions.<\/p>\n\n<h3>Types of restrictions<\/h3>\n\n<p>This section will provide you details on the types of restrictions and the related usage examples.<\/p>\n\n<h3>Fixed<\/h3>\n\n<p>This restriction, when activated, removes a block from the front end.<\/p>\n\n<h4>Usage Examples<\/h4>\n\n<ul>\n<li>Temporarily hide existing or new sections of an article until they are ready to be published.<\/li>\n<\/ul>\n\n<h3>Password<\/h3>\n\n<p>The restricted content is displayed only after a successful password submission.<\/p>\n\n<h4>Usage Examples<\/h4>\n\n<ul>\n<li>Display private content only to members of a club, community, or to your friends.<\/li>\n<li>Display downloadable material only to students of a class.<\/li>\n<\/ul>\n\n<h3>Device<\/h3>\n\n<p>This restriction allows you to display blocks based on the device of the user.<\/p>\n\n<h4>Usage Examples<\/h4>\n\n<ul>\n<li>Display complex layout elements only with desktop devices<\/li>\n<li>Display different download links based on the device of the user<\/li>\n<\/ul>\n\n<h3>Time Range<\/h3>\n\n<p>With this restriction, you can display content at a specified time interval.<\/p>\n\n<h4>Usage Examples<\/h4>\n\n<ul>\n<li>Sell tickets in predetermined time intervals<\/li>\n<li>Create a flash sale<\/li>\n<\/ul>\n\n<h3>Capability<\/h3>\n\n<p>This restriction uses the <a href=\"https:\/\/wordpress.org\/support\/article\/roles-and-capabilities\/\">capabilities of the user<\/a> to determine whether to display or not a specific block.<\/p>\n\n<h4>Usage Examples<\/h4>\n\n<ul>\n<li>Allow access to premium material only to specific user roles.<\/li>\n<\/ul>\n\n<h3>IP Address<\/h3>\n\n<p>This restriction allows you to display or hide blocks based on the IP address of the visitor.<\/p>\n\n<h4>Usage Examples<\/h4>\n\n<ul>\n<li>Prevent spam on contact forms or comments area<\/li>\n<li>Prevent hacking attempts<\/li>\n<\/ul>\n\n<h3>Cookie<\/h3>\n\n<p>Use this restriction to display content based on the presence of specifics cookies.<\/p>\n\n<h4>Usage Examples<\/h4>\n\n<ul>\n<li>Hide or display interface elements based on the information available about the user<\/li>\n<li>Display content only to logged user<\/li>\n<\/ul>\n\n<h3>HTTP Headers<\/h3>\n\n<p>With this restriction, you can display or hide content based on the information available in the HTTP headers.<\/p>\n\n<h4>Usage Examples<\/h4>\n\n<ul>\n<li>Hide content to specific bot or search engines<\/li>\n<li>Conditionally display content based on the device of the user<\/li>\n<\/ul>\n\n<h3>Customizable Style<\/h3>\n\n<p>You can customize the colors and the typography of the elements displayed in the front-end with the 18 style options available in the back-end.<\/p>\n\n<h3>Technical Information<\/h3>\n\n<h3>Plugin manual<\/h3>\n\n<p>Please see the <a href=\"https:\/\/daext.com\/doc\/restricted-blocks-lite\/\">plugin manual<\/a> for more information on the plugin installation and usage.<\/p>\n\n<h3>Device detection<\/h3>\n\n<p>The device of the user is detected with the <a href=\"https:\/\/github.com\/serbanghita\/Mobile-Detect\">Mobile Detect<\/a> PHP class.<\/p>\n\n<h3>Credits<\/h3>\n\n<p>This plugin makes use of the following resources:<\/p>\n\n<ul>\n<li><a href=\"https:\/\/github.com\/select2\/select2\">Select2<\/a> licensed under the <a href=\"http:\/\/www.opensource.org\/licenses\/mit-license.php\">MIT License<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/serbanghita\/Mobile-Detect\">Mobile Detect<\/a> licensed under the <a href=\"http:\/\/www.opensource.org\/licenses\/mit-license.php\">MIT License<\/a><\/li>\n<\/ul>\n\n<!--section=installation-->\n<h4>Installation (Single Site)<\/h4>\n\n<p>With this procedure you will be able to install the Restricted Blocks plugin on your WordPress website:<\/p>\n\n<ol>\n<li>Visit the <strong>Plugins -&gt; Add New<\/strong> menu<\/li>\n<li>Click on the <strong>Upload Plugin<\/strong> button and select the zip file you just downloaded<\/li>\n<li>Click on <strong>Install Now<\/strong><\/li>\n<li>Click on <strong>Activate Plugin<\/strong><\/li>\n<\/ol>\n\n<h4>Installation (Multisite)<\/h4>\n\n<p>This plugin supports both a <strong>Network Activation<\/strong> (the plugin will be activated on all the sites of your WordPress Network) and a <strong>Single Site Activation<\/strong> in a <strong>WordPress Network<\/strong> environment (your plugin will be activated on a single site of the network).<\/p>\n\n<p>With this procedure you will be able to perform a <strong>Network Activation<\/strong>:<\/p>\n\n<ol>\n<li>Visit the <strong>Plugins -&gt; Add New<\/strong> menu<\/li>\n<li>Click on the <strong>Upload Plugin<\/strong> button and select the zip file you just downloaded<\/li>\n<li>Click on <strong>Install Now<\/strong><\/li>\n<li>Click on <strong>Network Activate<\/strong><\/li>\n<\/ol>\n\n<p>With this procedure you will be able to perform a <strong>Single Site Activation<\/strong> in a <strong>WordPress Network<\/strong> environment:<\/p>\n\n<ol>\n<li>Visit the specific site of the <strong>WordPress Network<\/strong> where you want to install the plugin<\/li>\n<li>Visit the <strong>Plugins<\/strong> menu<\/li>\n<li>Click on the <strong>Activate<\/strong> button (just below the name of the plugin)<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.13<\/h4>\n\n<p><em>December 11, 2024<\/em><\/p>\n\n<ul>\n<li>Major back-end UI update.<\/li>\n<li>General refactoring.<\/li>\n<\/ul>\n\n<h4>1.12<\/h4>\n\n<p><em>April 8, 2024<\/em><\/p>\n\n<ul>\n<li>Fixed a bug (started with WordPress version 6.5) that prevented the creation of the plugin database tables and the initialization of the plugin options during the plugin activation.<\/li>\n<\/ul>\n\n<h4>1.11<\/h4>\n\n<p><em>November 15, 2022<\/em><\/p>\n\n<ul>\n<li>Minor backend improvements.<\/li>\n<li>Changelog added.<\/li>\n<\/ul>\n\n<h4>1.10<\/h4>\n\n<p><em>September 1, 2021<\/em><\/p>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Restricted Blocks is a WordPress plugin that allows you to restrict access to specific Gutenberg blocks based on a great variety of conditions.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mai.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/146125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mai.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/mai.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/mai.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=146125"}],"author":[{"embeddable":true,"href":"https:\/\/mai.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/daext"}],"wp:attachment":[{"href":"https:\/\/mai.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=146125"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/mai.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=146125"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/mai.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=146125"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/mai.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=146125"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/mai.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=146125"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/mai.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=146125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}