Gutenberg Hidden Blocks WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
Adds a block setting for specifying screen specific visibillity
★ 5stars
2.3kcomposer installs
v0.4.0latest · 11mo ago
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/generoi/wp-gutenberg-hidden-blocks/archive/refs/heads/master.zipOn Packagist as generoi/wp-gutenberg-hidden-blocks:
composer require generoi/wp-gutenberg-hidden-blocksNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Adds a block setting for specifying screen specific visibillity

Installation
composer require generoi/wp-gutenberg-hidden-blocks
Usage
import { addFilter } from '@wordpress/hooks'
import { mobile, tablet, desktop } from '@wordpress/icons';
addFilter('wp-gutenberg-hidden-blocks.screenSizes', 'theme/screen-sizes', () => {
return [
{ name: 'mobile', label: 'Mobile', icon: mobile },
{ name: 'tablet', label: 'Tablet', icon: tablet },
{ name: 'desktop', label: 'Desktop', icon: desktop },
];
});
Development
Install dependencies
composer install
npm install
Run the tests
npm run test
Build assets
# Minified assets which are to be committed to git
npm run build:production
# Watch for changes and re-compile while developing the plugin
npm run startReleases
6 releases.
Tag
Published
v0.4.0
latest
Oct 30, 2025 11mo ago
Jul 24, 2025 1 year ago
Apr 24, 2021 5 years ago
Apr 15, 2021 5 years ago
Apr 10, 2021 5 years ago
Apr 9, 2021 5 years ago
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.