BACK TO DIRECTORY

Block Control

by epiphyt

5.0
(3 ratings)

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.

You can hide blocks based on:

  • Device types (desktop, mobile, screen reader)
  • Viewports/CSS breakpoints
  • Login status
  • Date (start and end date)
  • User roles
  • Page types
  • Posts of the current post type
  • Feeds
  • Page number in numbered pages (in archives and search results)

Additionally, you can set an inline formatting to display certain text only for screen readers.

Contribution

Feel free to contribute. The code is available at GitHub.

Documentation

You can find the documentation for Block Control at docs.epiph.yt.

Screenshots

Block Control settings in the block's sidebar and its active state also visible in the document overview

Block Control settings in the block's sidebar and its active state also visible in the document overview

Inline formatting to show certain text for screen reader users only

Inline formatting to show certain text for screen reader users only

Block settings highlighted to hide a block for a certain viewport (here: below 1200px)

Block settings highlighted to hide a block for a certain viewport (here: below 1200px)

Plugin Details

Active Installs
100
Total Downloads
7,136
Version
2.0.1
Requires WP
6.8
Requires PHP
8.0
Tested Up To
7.1
Added
2019-08-27
Last Updated
2026-09-05 9:59am GMT

Ratings

5
3
4
0
3
0
2
0
1
0