Conditional Blocks – Control any Gutenberg Block


Conditional Blocks allows you to create a unique experience for your visitors and customers.

Conditionally hide any Gutenberg Block, even third-party blocks!

What can conditional blocks do?

Included Conditions:

  • Show or Hide block based user state (logged in or out users).
  • Show blocks depending on screen size (mobile, tablet, desktop).

Learn more about the features

Pro Conditions:

  • Show block depending on user rules (WooCommerce Customer, editors etc).
  • Show block for specific Date Ranges.
  • Show block for any device (iPhone, Android, macOS and Windows).
  • Show block based URL Referer (e.g if user came from
  • Show block on Custom Field value.

Learn about Conditional Blocks Pro

Restrict Gutenberg Blocks

Restrict any Gutenberg block by simply clicking on it, You’ll be able to set it to appear for logged in or out users only.

Great for creating members only content on your site.

Control Mobile Blocks

Sometimes blocks don’t fit well on mobile devices. You can select specific screen sizes to display your blocks on, and exclude them from others! Pick and choose if the block should be shown on mobile, tablet or desktop.


We’ve tested Conditional Blocks with the follow plugins:

  • Stackable
  • Atomic Blocks
  • CoBlocks

Please reach out on support if you are experiencing issues with another plugin.


  • Gutenberg Editor logged out/in user content block.
  • Frontend showing the logged out user block.
  • Editor options for conditionally showing block on screen sizes.
  • Frontend showing different blocks for different screens.


Conditional Blocks for Gutenberg Installation Instructions:

  1. Upload the Conditional Blocks plugin to your /wp-content/plugin/ directory or through the plugin admin section under “add new”.,
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.,
  3. That’s it!


Can I conditionally hide any block?

Yes, you can conditionally hide any Gutenberg block using any of the conditions.


Agosto 16, 2019
Does exactly what it promises. Worked like a charm and the Pro version added some great features that I needed. Worth the money and couldn't be happier!
Hulyo 31, 2019
I've recently switched to Gutenberg for making websites and this little gem was missing from my toolbox. It adds some much-needed options that are a standard in page builders. It works perfectly and has a small footprint. It's simply a must-have for creating dynamic websites 100% with Gutenberg. Top stuff!
Read all 2 reviews

Contributors & Developers

“Conditional Blocks – Control any Gutenberg Block” is open source software. The following people have contributed to this plugin.




  • New Date Range Conditions for Blocks in Pro! Learn about Date Conditions
  • Improved JS browers caching with file versions.
  • Improved code structure.
  • Fixed conflict with Yoast and other plugings which triggers Gutenberg by using React.


  • initial Release of Conditional Blocks for Gutenberg.