Restricted Blocks GPL WordPress Plugin Introduction
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, hide content for the users that live in specific geographic locations, conditionally display content based on the user device, make parts of the post unavailable to search engines, and more.
Types of restrictions
This section will provide you with details on the types of restrictions and the related usage examples.
FIXED
This restriction, when activated, removes a block from the front end.
Usage Examples – Temporarily hide existing or new sections of an article until they are ready to be published.
PASSWORD
The restricted content is displayed only after a successful password submission.
Usage Examples
Display private content only to members of a club, community, or to your friends.
Display downloadable material only to students of a class.
AGE
The plugin displays the content associated with this restriction if the user meets the age requirements defined in the back-end. Note that the user can declare its age by submitting the birth date with the provided form.
GEOLOCATION
This type of restriction allows you to display or hide blocks based on the location of the user.
Usage Examples
Display different content based on the user location
Make videos unavailable to users located in specific countries
Customizable Style
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.
Restricted Blocks Plugin Technical Information
PLUGIN MANUAL
Please see the plugin manual for more information on the plugin installation and usage.
GEOLOCATION SERVICE
This plugin geolocates the users with GeoLite2. A free IP geolocation database is provided by MaxMind.
Note that to use the GeoLite2 database, you have to create a MaxMind account and accept their terms of service.
DEVICE DETECTION
The device of the user is detected with the Mobile Detect PHP class.
Reviews
There are no reviews yet.