NewVersion 0.42

Blocks, by role.

Choose which editor blocks each WordPress user role can add, so every editor sees the blocks they need and nothing else.

The right blocks for each role.

Everything here is from the plugin's readme at its newest release.

Blocks chosen per role
A list of every block against every role. Tick the roles that may use each block, and the others no longer see it in the inserter.
Toggle a whole category
Switch every block in a category on or off for a role with one click.
Saves as you go
Changes are saved in the background, without reloading the settings page.
Export and import as JSON
Save your setup as a JSON file and import it on another site to set it up the same way, or keep it as a backup.
Existing content is left alone
Only what can be added changes. Blocks already in your posts and pages stay exactly as they are.

What it needs.

6.6or newer

WordPress

Tested up to WordPress 6.7. It works on the block editor's own inserter.

Nonerequired

Accounts and keys

Everything runs on your own site. There is no service to sign up to.

Questions we get asked.

The readme on GitHub has the details.

How do I restrict blocks to specific roles?

Open Block Roles in the admin menu. You will see every block against the roles on your site; tick the roles that should have each block.

Can I export and import block settings?

Yes. Export your settings as a JSON file and import it on another WordPress site to copy the setup.

Will this affect existing content?

No. Block Roles only changes which blocks can be added in the editor. Blocks already in your posts and pages stay as they are.

Can I toggle all blocks for a role?

Yes. Toggle All switches every block in a category on or off for a role at once.

Block Roles

Free. Download it from GitHub.

Block Roles is GPL v2 or later, with no licence key. Download the zip of the newest release, and the source is on GitHub.

  1. DownloadTake the zip of the newest release.
  2. ActivateUpload it under Plugins, Add New, then activate it.
  3. ChooseOpen Block Roles in your admin menu and tick which roles may use each block.

The people behind it.

We build and run WordPress sites for a living, and this is how we keep each editor's inserter tidy.

AceMedia.ninja

Shane Rounce

Runs AceMedia in Sheffield: websites, WordPress plugins and hosting. Contributes to WordPress core.

acemedia.ninja