
內容簡介
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<h2>外掛總結:</h2>
<p>Conditional Block Visibility 外掛允許您根據以下條件管理區塊的可見性:</p>
<ul>
<li>使用者角色:為特定角色如管理者、編輯者、訂閱者等顯示或隱藏區塊。</li>
<li>登入狀態:僅為已登入或已登出的使用者顯示區塊。</li>
<li>設備類型:控制桌面、平板和行動裝置的可見性。</li>
</ul>
<h2>問題與答案:</h2>
<h3>問題1:這個外掛的主要功能是什麼?</h3>
<p>答:Conditional Block Visibility 外掛讓您可以根據使用者角色、登入狀態和設備類型管理區塊的可見性。</p>
<h3>問題2:這個外掛提供了哪些特性?</h3>
<p>答:</p>
<ul>
<li>動態使用者角色:自動適應其他外掛新增的任何自訂角色。</li>
<li>靈活的條件:結合多個條件以精確控制。</li>
<li>基於設備的控制:確保內容可見性針對不同螢幕尺寸進行最佳化。</li>
<li>根據登入狀態的可見性:為已登入或已登出的使用者設定不同內容可見性。</li>
<li>輕量且易於使用。</li>
</ul>
<h3>問題3:這個外掛的授權方式是什麼?</h3>
<p>答:這個外掛使用 GPLv2 或更新版本的許可。詳細訊息請參閱 GPLv2 授權。</p>
</body>
</html>
外掛標籤
開發者團隊
② 後台搜尋「Conditional Block Visibility」→ 直接安裝(推薦)
原文外掛簡介
Conditional Block Visibility allows you to manage the visibility of blocks based on:
– User Roles: Show or hide blocks for specific roles like Administrator, Editor, Subscriber, etc.
– Login Status: Display blocks only for logged-in or logged-out users.
– Device Type: Control visibility for desktop, tablet, and mobile devices.
This plugin provides an easy-to-use interface in the block editor for adding visibility conditions to blocks, without requiring custom code.
Features
Dynamic User Roles: Automatically adapts to any custom roles added by other plugins.
Flexible Conditions: Combine multiple conditions for precise control.
Device-Based Control: Ensure content visibility is optimized for different screen sizes.
Visibility Based on Login Status: Set different content visibility for logged-in or logged-out users.
Lightweight and easy to use.
License
This plugin is licensed under the GPLv2 or later. See the GPLv2 license for details.
