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.
[h=2]Types of restrictions[/h] This section will provide you details on the types of restrictions and the related usage examples.
[h=4]Fixed[/h] This restriction, when activated, removes a block from the front end.
[h=5]Usage Examples[/h]
[h=5]Usage Examples[/h]
[h=5]Usage Examples[/h]
[h=5]Usage Examples[/h]
[h=5]Usage Examples[/h]
[h=5]Usage Examples[/h]
[h=5]Usage Examples[/h]
[h=5]Usage Examples[/h]
[h=5]Usage Examples[/h]
[h=5]Usage Examples[/h]
[h=2]Technical Information[/h] [h=4]Plugin manual[/h] Please see the plugin manual for more information on the plugin installation and usage.
[h=4]Geolocation Service[/h] This plugin geolocates the users with GeoLite2. A free IP geolocation database provided by MaxMind.
Note that to use the GeoLite2 database, you have to create a MaxMind account and accept their terms of service.
[h=4]Device detection[/h] The device of the user is detected with the Mobile Detect PHP class.
[h=2]Credits[/h] This plugin makes use of the following resources:
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.
[h=2]Types of restrictions[/h] This section will provide you details on the types of restrictions and the related usage examples.
[h=4]Fixed[/h] This restriction, when activated, removes a block from the front end.
[h=5]Usage Examples[/h]
- Temporarily hide existing or new sections of an article until they are ready to be published.
[h=5]Usage Examples[/h]
- Display private content only to members of a club, community, or to your friends.
- Display downloadable material only to students of a class.
[h=5]Usage Examples[/h]
- Restrict access to sensitive content
[h=5]Usage Examples[/h]
- Display different content based on the user location
- Make videos unavailable to users located in specific countries
[h=5]Usage Examples[/h]
- Display complex layout elements only with desktop devices
- Display different download links based on the device of the user
[h=5]Usage Examples[/h]
- Sell tickets in predetermined time intervals
- Create a flash sale
[h=5]Usage Examples[/h]
- Allow access to premium material only to specific user roles.
[h=5]Usage Examples[/h]
- Prevent spam on contact forms or comments area
- Prevent hacking attempts
[h=5]Usage Examples[/h]
- Hide or display interface elements based on the information available about the user
- Display content only to logged user
[h=5]Usage Examples[/h]
- Hide content to specific bot or search engines
- Conditionally display content based on the device of the user
[h=2]Technical Information[/h] [h=4]Plugin manual[/h] Please see the plugin manual for more information on the plugin installation and usage.
[h=4]Geolocation Service[/h] This plugin geolocates the users with GeoLite2. A free IP geolocation database provided by MaxMind.
Note that to use the GeoLite2 database, you have to create a MaxMind account and accept their terms of service.
[h=4]Device detection[/h] The device of the user is detected with the Mobile Detect PHP class.
[h=2]Credits[/h] This plugin makes use of the following resources:
- Select2 licensed under the MIT License
- Mobile Detect licensed under the MIT License
- Composer licensed under the MIT License
- GeoIP2 PHP API licensed under the Apache License 2.0
- MaxMind DB Reader PHP API licensed under the Apache License 2.0
- Common Code for MaxMind Web Service Clients licensed under the Apache License 2.0