Restricted Blocks is a WordPress plugin that allows you to restrict access to specific Gutenberg blocks based on a great variety of conditions.
Restricted Blocks is a WordPress plugin that allows you to restrict access to specific Gutenberg blocks based on a great variety of conditions.
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.
For professional users, we distribute a Pro Version of this plugin which includes additional types of restrictions.
This section will provide you details on the types of restrictions and the related usage examples.
This restriction, when activated, removes a block from the front end.
The restricted content is displayed only after a successful password submission.
This restriction allows you to display blocks based on the device of the user.
With this restriction, you can display content at a specified time interval.
This restriction uses the capabilities of the user to determine whether to display or not a specific block.
This restriction allows you to display or hide blocks based on the IP address of the visitor.
Use this restriction to display content based on the presence of specifics cookies.
With this restriction, you can display or hide content based on the information available in the HTTP headers.
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.
Please see the plugin manual for more information on the plugin installation and usage.
The device of the user is detected with the Mobile Detect PHP class.
This plugin makes use of the following resources:
With this procedure you will be able to install the Restricted Blocks plugin on your WordPress website:
This plugin supports both a Network Activation (the plugin will be activated on all the sites of your WordPress Network) and a Single Site Activation in a WordPress Network environment (your plugin will be activated on a single site of the network).
With this procedure you will be able to perform a Network Activation:
With this procedure you will be able to perform a Single Site Activation in a WordPress Network environment:
April 8, 2024
November 15, 2022
September 1, 2021