BACK TO DIRECTORY

yuiami.jp Hidden Blocks

by Takashi Fujisaki

0.0
(0 ratings)

yuiami.jp Hidden Blocks adds a simple visibility schedule to every block. Pick a start date, an end date, or both, and the block is shown only inside that window. Outside the window, the block’s HTML is not rendered at all.

Built to stay simple:

  • No settings screen. Install it and every block gets a “Visibility schedule” panel.
  • Two fields per block: “Show from” and “Show until”. That’s it.
  • Works with every block — core, third-party, and nested blocks.
  • Output is removed server-side, so hidden content never leaks into HTML, feeds, or search engines.
  • Scheduled blocks are marked in the editor with a dashed outline and a clock icon. Blocks that are currently hidden on the front end are dimmed instead, with a grey outline and a hidden icon.
  • A button in the block toolbar opens the schedule, so it is always one click away.
  • Times follow your site’s timezone setting.
  • No settings, no database tables. Nothing is left behind on uninstall.

Development

The editor script in build/ is compiled from the sources in src/, which ship with this plugin. Building it yourself needs Node.js and pnpm:

pnpm install
pnpm build

The build runs @wordpress/scripts and writes build/index.js, build/index.css, build/index-rtl.css and build/index.asset.php. The plugin reads its script dependencies and version from build/index.asset.php, so the editor only picks up a change after a build.

Plugin Details

Active Installs
0
Total Downloads
305
Version
1.0.1
Requires WP
6.6
Requires PHP
7.4
Tested Up To
7.1.4
Added
2026-10-01
Last Updated
2026-10-10 4:54am GMT

Ratings

5
0
4
0
3
0
2
0
1
0