
前言介紹
- 這款 WordPress 外掛「Block Visibility Manager」是 2025-07-13 上架。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2025-07-14,距離現在已有 227 天。
- 外掛最低要求 WordPress 6.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
block | gutenberg | visibility | block-editor | block visibility |
內容簡介
總結:
Block Visibility Manager 提供詳細控制,讓你可以在區塊編輯器中設定哪些區塊支援可見規則。
你可以基於時間、日期和時間、使用者角色(包括訪客)、設備類型(行動裝置、平板、桌面)條件性地顯示或隱藏單個區塊。
問與答:
1. 誰可以使用 Block Visibility Manager?
- 想要顯示具時間敏感性內容的內容創作者。
- 偏好本地、無臃腫解決方案的開發人員和網站建造者。
- 想要為客戶提供基於角色或排程的內容區塊的代理機構。
- 需要動態隱藏/顯示促銷或訊息的行銷人員。
2. 為什麼要使用這個外掛?
- 是否需要在有限的時間內顯示區塊(例如活動橫幅)?
- 想要從登出用戶隱藏訊息?
- 禁用不需要的區塊可見性選項?
- 避免第三方外掛增加額外區塊或腳本?
3. 這個外掛有哪些技術細節?
- 不添加任何新區塊,而是使用官方過濾器和本地化 UI 元件擴展現有的核心 WordPress 區塊。
- 針對行動裝置、平板或桌面的隱藏功能完全倚賴 CSS,不涉及 JavaScript。確保在不同佈景主題中輕巧且一致。
- 其他可見性條件(例如時間範圍、日期範圍或使用者角色)在伺服器端執行,如果區塊不符合定義的條件,將完全從呈現的 HTML 輸出中刪除。
- 可見性設定目前僅適用於前端。編輯器中的區塊完全可見,避免在創建內容時混淆。目前不會在區塊編輯器中預覽可見性條件。
- 這個外掛專為 WordPress 區塊編輯器(古鐵頁)設計,不支援其他頁面構建器,如 Elementor、Beaver Builder、WPBakery 等。如果你使用基於區塊的佈景主題或正在使用原生 WordPress 區塊編輯器編輯內容,這個外掛將無縫整合。對於其他構建器,可見性設定將不起作用。
原文外掛簡介
Block Visibility Manager gives you fine-grained control over which blocks support visibility rules in the block editor.
You can conditionally show or hide individual block based on:
Time
Date and time
User roles (including guests)
Device type (mobile, tablet, desktop)
Benefits
Show a block only during a limited time (e.g. event banners)
Hide a block for guests
Improve content relevance and scheduling without complex tools.
Keep the editor clean by enabling visibility only where needed.
No performance overhead or custom block lock-in.
100% native: works seamlessly with WordPress Core and Gutenberg.
Features
Time Scheduling – Show or hide blocks between specific times, everyday (based on server time).
Date & Time Scheduling – Show or hide blocks between specific dates with time for granular control, based on UTC+0 timezone. For example you can display a block only on Amazon Prime Days, from 00:00 of the first day to 23:59 of the last day.
User Role Targeting – Restrict visibility based on WP user roles, such as Administrator, Editor, Subscriber, and others — or hide/show blocks specifically for guests (non-logged-in users).
Device-Based Display – Conditionally hide blocks on mobile, tablet, or desktop. his is achieved using fixed CSS media queries, ensuring consistent behavior across themes without relying on JavaScript.
Selective Block Control – Choose which blocks support visibility settings.
Fully Native – Built using core WordPress components and filters only.
Who Is It For?
Content creators who want to show time-sensitive content.
Developers and site builders who prefer native, non-bloated solutions.
Agencies looking to offer clients role-based or scheduled content blocks.
Marketers who need to hide/show promotions or messages dynamically.
Why Use This Plugin?
Need to:
Show a block only during a limited time (e.g. event banners)?
Hide a message from logged-out users?
Disable visibility options on blocks that don’t need them.
Avoid third-party plugins that add extra blocks or scripts?
Block Visibility Manager solves these problems cleanly and natively.
Technical Notes
No Blocks Added
This plugin does not add any new blocks. Instead, it extends existing core WordPress blocks using official filters and native UI components, keeping your site fast, lean, and fully compatible with WordPress standards.
Device-Based Visibility
The hiding functionality for mobile, tablet, or desktop relies purely on CSS using display: none;. No JavaScript is involved. This ensures lightweight and consistent behavior across different themes.
Server-Side Visibility Filtering
Other visibility conditions (such as time range, date range, or user roles) are enforced server-side. If a block does not meet the defined conditions, it is entirely removed from the rendered HTML output.
Editor Behavior
Visibility settings currently apply only on the frontend. Blocks remain fully visible in the editor to avoid confusion during content creation. Visibility conditions are not previewed in the block editor at this time.
Block Visibility for WordPress Block Editor
This plugin is designed exclusively for the WordPress Block Editor (Gutenberg). It does not support other page builders such as Elementor, Beaver Builder, WPBakery, or others.
If you are using a block-based theme or editing content with the native WordPress block editor, this plugin will seamlessly integrate. For other builders, visibility settings will have no effect.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Block Visibility Manager」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Classic Editor 》Classic Editor 是由 WordPress 團隊維護的官方外掛程式,可還原之前(也就是「經典」)的 WordPress 編輯器和「編輯文章」畫面,使使用者可以使用延伸這個畫...。
Advanced Editor Tools 》高級編輯工具(以前稱為 TinyMCE Advanced)引入了一個「經典段落」區塊,供區塊編輯器(Gutenberg)使用。, 如果您還沒有準備好切換到區塊編輯器,或者有插...。Classic Widgets 》Classic Widgets 是由 WordPress 團隊維護的官方外掛,能夠恢復先前(即「經典」)的 WordPress widgets 設定畫面。該外掛將於 2024 年或必要時保持支援和維...。
Starter Templates – AI-Powered Templates for Elementor & Gutenberg 》免費模板,支援 Elementor、Beaver Builder 和 Block Editor, 使用 Starter Templates 外掛,只需數分鐘即可建立專業且完美的網站。此外掛為使用者提供超過 2...。
Spectra Gutenberg Blocks – Website Builder for the Block Editor 》a.com/tutorials/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme" rel="nofollow ugc">Spectra tutorials, you can easily learn how to ...。
Kadence Blocks — Page Builder Toolkit for Gutenberg Editor 》Kadence Blocks 是一個 WordPress 外掛,它附加自訂區塊和選項,擴展了 Gutenberg 編輯功能,使您能夠輕鬆創建美麗的網站,而不需要任何程式編寫。Kadence Bl...。
Disable Gutenberg 》此外掛可禁用新的 Gutenberg 編輯器 (也稱為區塊編輯器),並以經典編輯器取代它。你可以完全禁用 Gutenberg,或從文章、頁面、角色、文章類型和主題模板中有...。
Extendify 》Extendify 是一個網站設計和製作工具平台,提供豐富的圖案和全頁面佈局,可用於 Gutenberg 區塊編輯器,幫助人們建立美麗的 WordPress 網站。, 使用 Extendif...。
Otter Blocks – Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE 》Otter 是一款 Gutenberg Blocks 頁面建構外掛,可為 WordPress Block Editor(又稱 Gutenberg)添加額外功能,讓您享受更好的頁面建構體驗,而無需使用傳統的...。
Page Builder Gutenberg Blocks – CoBlocks 》, 注意:對於已受 CoBlocks 3.0.0 版本影響的使用者,請查看我們在 WordPress.org 支援論壇文章,如果您需要支援,請建立新的主題帖。, , CoBlocks 是新版 Gu...。AI Powered Starter Templates by Kadence WP 》用三個滑鼠點擊建立一個美觀的「效能優化」網站, 在幾分鐘內創建和自定義專業設計的網站。, Kadence Starter Templates 為您提供使用 WordPress 區塊構建器的...。
GenerateBlocks 》將不同的功能整合至編輯器,但並不會因為過多的一維方塊造成內容過於臃腫。使用 GenerateBlocks,您只需深入學習少量的方塊,即可用於創建任何內容。, Genera...。
Gutenberg Essential Blocks – Page Builder for Gutenberg Blocks & Patterns 》使用 Essential Blocks for Gutenberg,即可實現您的創意視覺效果,這是適用於 WordPress 的最終區塊庫!, 使用我們易於使用的區塊,增強您使用 Gutenberg 的...。VK Blocks 》這是一個擴充 Gutenberg 模塊的外掛。, [ 模塊 ], , 成員, 外框, 警示, 常問問題, 氣球, 流, 按鈕, 公關模塊, 公關內容, 邊框盒, 標題(帶副標題), 響應間距...。
Stackable – Page Builder Gutenberg Blocks 》終極與古鐸版衣搭檔, Stackable 是您一直在等待的終極可靠古鐸版衣搭檔。使用堅強、輕便的自訂區塊、現成設計、UI套件、全域設定和高級自訂選項建立動態網站...。
