Description
Have you ever used WordPress’ new block editor Gutenberg and wished for a way to influence, when and to whom blocks are shown? We’ve been in this situation, that’s why we came up with Block Control. This nifty little plugin allows you to control, whether a block should be displayed under certain circumstances or not. And that’s of course true for both WordPress’ default blocks and blocks added by third-party plugins.
Installation
- Upload the plugin files to the
/wp-content/plugins/block-control
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Now you can use the “Visibility” panel, Block Control adds to every block withing the Gutenberg editor.
FAQ
-
How do I use Block Control?
-
After you install and activate Block Control, you will find a new panel “Visibility” added to every blocks right hand side sidebar. Open the panel to choose a condition for the display of a given block.
Conditional blocks configured this way will only be displayed under certain circumstances chosen by you. Please note, these conditions will only take effect in the front end of your site, not inside the editor itself.
-
Does Block Control work with page caching plugins?
-
As Block Control removes content completely from the source code and not just hides it via CSS, it is mostly incompatible to any caching plugin because it may generate different HTML for every user.
-
Who are you folks?
-
We are Epiph.yt, your friendly neighborhood WordPress plugin shop from southern Germany.
-
Contributing
-
You can contribute to the code on GitHub.
Reviews
Contributors & Developers
“Block Control” is open source software. The following people have contributed to this plugin.
Contributors“Block Control” has been translated into 2 locales. Thank you to the translators for their contributions.
Translate “Block Control” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.3
- We fixed a problem while checking for block attributes
1.0.2
- We fixed a problem that may load multiple editor scripts in the frontend even if they are not needed there
- We fixed a problem where Block Control options won’t be available for certain blocks
1.0.1
- We fixed the internationalization for all strings
1.0.0
- Initial release