
內容簡介
總結: Timed Visibility Block 是一款強大的外掛,可作為區塊編輯器(古鐵文)的包裝器,讓您可以根據不同的時間規則,安排內容何時顯示或隱藏。
問題與答案:
1. 這個外掛的主要功能是什麼?
- Timed Visibility Block 可以讓您根據不同的時間規則,安排內容何時顯示或隱藏。
2. 這個外掛的主要特色有哪些?
- Date-Time Range Visibility: 在開始和結束日期時間之間顯示或隱藏內容。
- Daily Schedule Mode: 每天在設定的時間範圍內重複顯示內容(例如,每天上午9:00到下午5:00)。
- Show/Hide Mode: 在所選時間表內決定是否顯示或隱藏內容(支援反轉邏輯)。
- Fallback Message: 當內容被隱藏時,可以選擇顯示自定義訊息(例如:“此內容已不再可用”)。
- No Output on Expiry: 隱藏時,內容完全不會被呈現,保持 HTML 的整潔和優化。
外掛標籤
開發者團隊
原文外掛簡介
Timed Visibility Block is a powerful wrapper block for the Block Editor (Gutenberg) that allows you to schedule when content is shown or hidden based on various time-based rules.
Key Features:
– Date-Time Range Visibility: Show or hide content between a start and end date-time.
– Daily Schedule Mode: Repeat visibility daily between a set time range (e.g., from 9:00 AM to 5:00 PM every day).
– Show/Hide Mode: Decide whether to show or hide content during the selected schedule (inverted logic support).
– Fallback Message: Optionally display a custom message (e.g., “This content is no longer available”) when the content is hidden.
– No Output on Expiry: When hidden, content is not rendered at all, keeping the HTML clean and optimized.
