內容簡介
Block Control 外掛讓使用者能夠控制 WordPress Gutenberg 編輯器中區塊的顯示條件,無論是預設區塊或第三方外掛的區塊,皆可依據特定情況進行隱藏或顯示,提升網站的靈活性與使用者體驗。
【主要功能】
• 根據裝置類型隱藏區塊
• 根據登入狀態控制顯示
• 設定顯示日期範圍
• 根據使用者角色隱藏區塊
• 支援頁面類型與文章類型
• 為螢幕閱讀器設定內聯格式
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Have you ever used WordPress’ new block editor Gutenberg and wished for a way to influence, when and to whom blocks are shown? We’ve been in this situation, that’s why we came up with Block Control. This nifty little plugin allows you to control, whether a block should be displayed under certain circumstances or not. And that’s of course true for both WordPress’ default blocks and blocks added by third-party plugins.
You can hide blocks based on:
Device types (desktop, mobile, screen reader)
Viewports/CSS breakpoints
Login status
Date (start and end date)
User roles
Page types
Posts of the current post type
Feeds
Page number in numbered pages (in archives and search results)
Additionally, you can set an inline formatting to display certain text only for screen readers.
Contribution
Feel free to contribute. The code is available at GitHub.
Documentation
You can find the documentation for Block Control at docs.epiph.yt.
