PHPackages                             generoi/wp-gutenberg-hidden-blocks - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. generoi/wp-gutenberg-hidden-blocks

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

generoi/wp-gutenberg-hidden-blocks
==================================

Adds a block setting for specifying screen specific visibillity

v0.4.0(6mo ago)51.6k↑33.3%MITJavaScriptPHP &gt;=7.0.0

Since Apr 9Pushed 6mo ago4 watchersCompare

[ Source](https://github.com/generoi/wp-gutenberg-hidden-blocks)[ Packagist](https://packagist.org/packages/generoi/wp-gutenberg-hidden-blocks)[ Docs](https://github.com/generoi/wp-gutenberg-hidden-blocks)[ RSS](/packages/generoi-wp-gutenberg-hidden-blocks/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (7)Used By (0)

wp-gutenberg-hidden-blocks
==========================

[](#wp-gutenberg-hidden-blocks)

> Adds a block setting for specifying screen specific visibillity

[![Screen Recording 2021-04-09 at 13 40 37](https://user-images.githubusercontent.com/302736/114213661-aa0b8780-9939-11eb-9cd5-fdc0af68e114.gif)](https://user-images.githubusercontent.com/302736/114213661-aa0b8780-9939-11eb-9cd5-fdc0af68e114.gif)

Installation
------------

[](#installation)

```
composer require generoi/wp-gutenberg-hidden-blocks

```

Usage
-----

[](#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
-----------

[](#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 start

```

###  Health Score

39

—

LowBetter than 85% of packages

Maintenance72

Regular maintenance activity

Popularity24

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~332 days

Recently: every ~415 days

Total

6

Last Release

191d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/302736?v=4)[oxyc](/maintainers/oxyc)[@oxyc](https://github.com/oxyc)

---

Top Contributors

[![oxyc](https://avatars.githubusercontent.com/u/302736?v=4)](https://github.com/oxyc "oxyc (28 commits)")

---

Tags

wordpressgutenberg

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/generoi-wp-gutenberg-hidden-blocks/health.svg)

```
[![Health](https://phpackages.com/badges/generoi-wp-gutenberg-hidden-blocks/health.svg)](https://phpackages.com/packages/generoi-wp-gutenberg-hidden-blocks)
```

###  Alternatives

[log1x/poet

Configuration-based post type, taxonomy, editor color palette, block category, and block registration for Sage 10.

218280.1k1](/packages/log1x-poet)[log1x/acf-editor-palette

A replica Gutenberg color picker field for Advanced Custom Fields.

100284.1k](/packages/log1x-acf-editor-palette)[tiny-pixel/acorn-block-templates

Block templates for Sage 10

191.2k](/packages/tiny-pixel-acorn-block-templates)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
