[WordPress] 外掛分享: yuiami.jp Hidden Blocks

首頁 › 外掛目錄 › yuiami.jp Hidden Blocks
WordPress 外掛 yuiami.jp Hidden Blocks 的封面圖片
全新外掛
安裝啟用
—
尚無評分
19 天前
最後更新
—
問題解決
WordPress 6.6+ PHP 7.4+ v1.0.1 上架:2026-09-30

內容簡介

yuiami.jp Hidden Blocks 外掛為每個區塊新增簡單的可見性排程功能。使用者可以設定開始與結束日期,區塊僅在指定時間內顯示,超出時間範圍則不會渲染其 HTML,確保內容不會洩漏。

【主要功能】
• 為每個區塊提供可見性排程面板
• 設定顯示起始與結束日期
• 支援所有區塊類型,包括核心與第三方區塊
• 隱藏內容不會出現在 HTML、RSS 或搜尋引擎中
• 編輯器中以虛線與時鐘圖示標示排程區塊
• 一鍵開啟排程設定,操作簡便

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「yuiami.jp Hidden Blocks」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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.

延伸相關外掛

文章
Filter
Mastodon