[WordPress] 外掛分享: Block Control

首頁外掛目錄 › Block Control
100+
安裝啟用
★★★★★
5/5 分(3 則評價)
12 天前
最後更新
100%
問題解決
WordPress 6.8+ PHP 8.0+ v2.0.1 上架:2019-08-26

內容簡介

Block Control 外掛讓使用者能夠控制 WordPress Gutenberg 編輯器中區塊的顯示條件,無論是預設區塊或第三方外掛的區塊,皆可依據特定情況進行隱藏或顯示,提升網站的靈活性與使用者體驗。

【主要功能】
• 根據裝置類型隱藏區塊
• 根據登入狀態控制顯示
• 設定顯示日期範圍
• 根據使用者角色隱藏區塊
• 支援頁面類型與文章類型
• 為螢幕閱讀器設定內聯格式

外掛標籤

開發者團隊

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

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

原文外掛簡介

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.

延伸相關外掛

文章
Filter
Mastodon