This plugin enables blocks that can be shown / hidden for each user role.
- You can set the display switching for each authority such as "Administrator" and "Author".
- You can also simply specify "logged in / not logged in".
The source code is available on
github.
How to use
- The category "Restricted" has been added to the Block Inserter.
- There is a custom block named "Restricted Block".
- Select "Restricted Block" to insert a block.
If it doesn't work
This plugin works only with PHP version 5.6 or later, WordPress 5.0 or later.
Please check your PHP version or WordPress version.
This plugin can be installed directly from your site.
- Log in and navigate to "Plugins" → "Add New".
- Type "Restricted Block by User Roles" into the Search and hit Enter.
- Locate the plugin in the list of search results and click "Install Now".
- Once installed, click the "Activate" link.
1.2.0
- Support for WordPress 5.8.
1.1.0
- Support for WordPress 5.6
- The icon has been renewed.
1.0.7
1.0.6
1.0.5
Testing Github Actions
1.0.4
Foxed block.json
1.0.3
Create block.json
1.0.2
- Support for WordPress 5.5
- Added the function to display the block only to non-login users.
1.0.1
Edit radme.txt
1.0.0
Initial working version.