內容簡介
Wicked Block Conditions 是一款強大的工具,可用於創建條件塊。條件塊是一個當你定義的條件被滿足時會顯示(或隱藏)的塊。例如,你可以創建僅顯示給已登錄用戶的塊(非常適用於會員網站)。
定義簡單的條件或使用「和 / 或」運算符將條件組合成群組以滿足更複雜的場景。
基於以下條件顯示或隱藏塊:
用戶登錄狀態
用戶角色
日期和時間
文章類別或標籤
文章狀態
查詢字符串參數的值
自定義 PHP 函數的結果
功能:
使用條件顯示或隱藏任何塊
指定無限數量的條件
使用「和 / 或」運算符組合條件
將條件分組以創建複雜的顯示規則
與包括第三方塊在內的任何 Gutenberg 塊搭配使用
支援
請參閱下面的FAQ 部分了解常見問題。如有疑問或需要幫助,請訪問支援論壇。
關於 Wicked Plugins
Wicked Plugins 專門創建高質量、可靠的插件,以強化 WordPress 的能力,同時具有簡單而直觀的使用方式。我們是全職開發人員,對 WordPress 和我們所有產品都非常了解,我們的客戶幸福工程師為所有產品提供友好的支援。訪問我們的網站 以瞭解更多信息。
外掛標籤
開發者團隊
原文外掛簡介
Wicked Block Conditions is a powerful tool for creating conditional blocks. A conditional block is a block that can be shown (or hidden) if the conditions you define are met. For example, you can create blocks that are only shown to logged-in users (great for membership sites).
Define simple conditions or combine conditions into groups using and/or operators for more complex scenarios.
Show or hide blocks based on:
User login status
User role
Date and time
Post categories or tags
Post status
The value of a query string parameter
The result of a custom PHP function
Features:
Show or hide any block using conditions
Specify an unlimited number of conditions
Combine conditions with “and” or “or” operators
Group conditions to create complex display rules
Works with any Gutenberg block including third-party blocks
Support
Please see the FAQ section below for common questions. Visit the support forum if you have a question or need help.
About Wicked Plugins
Wicked Plugins specializes in crafting high-quality, reliable plugins that extend WordPress in powerful ways while being simple and intuitive to use. We’re full-time developers who know WordPress inside and out and our customer happiness engineers offer friendly support for all our products. Visit our website to learn more about us.
