
內容簡介
總結:Expire Content Block 是一個簡單而強大的古騰堡區塊,讓您可以安排內容過期,無需使用shortcode、不需編碼,並且在編輯時提供真實視覺預覽。可以將任何區塊放在其中(圖像、文本、按鈕、表單等),設定過期日期和時間後,內容將自動隱藏或以自定義消息替換。
1. 什麼是Expire Content Block?
Expire Content Block是一個令人驚豔的古騰堡區塊,可以安排內容過期,無需使用shortcode或編碼,只需實時視覺預覽。
2. 它適合哪些場景使用?
可以用於限時促銷、活動報名截止、臨時公告、假期通知、推出活動、會員或課程內容階段等情況下。
3. 這個外掛的關鍵特點有哪些?
- 100%原生古騰堡區塊,無需shortcode混亂。
- 使用InnerBlocks將任何區塊放在內部。
- 通過DateTimePicker選擇過期日期和時間。
- 定義行為:過期後隱藏內容,或替換成自定義消息。
- 編輯器預覽模式顯示過期內容將如何呈現。
- 服務器端呈現確保準確安排。
- 輕量且快速 – 零前端JS要求。
- 使用wp_kses_post()進行安全內容清理。
4. 為什麼要使用這個外掛?
大多數“定時內容”外掛都依賴shortcode或舊的TinyMCE對話框。Expire Content Block將體驗帶到現代區塊編輯器標準,具備直觀的UI和視覺反饋。
5. 未來PRO版的功能有哪些?
- 在特定日期之間顯示內容。
- 每個區塊有多個過期規則。
- 基於WooCommerce的過期觸發器。
- 地理位置+時間條件。
- 替換為保存的區塊模式或模板。
- 分析數據:在到期之前該區塊顯示多少次。
外掛標籤
開發者團隊
原文外掛簡介
Expire Content Block is a simple but powerful Gutenberg block that lets you schedule content expiration — without shortcodes, without coding, and with live visual previews while editing.
Place any blocks inside it (images, text, buttons, forms, anything), set an expiry date and time…
After that moment, the content will automatically be hidden or replaced with a custom message.
Perfect for:
– Limited-time promotions
– Event registration closing
– Temporary announcements
– Holiday notices
– Launch campaigns
– Membership or course content phases
Key Features
100% native Gutenberg block (no shortcode mess)
Add any blocks inside using InnerBlocks
Choose expiry date & time via DateTimePicker
Define behavior:
Hide content after expiry
Replace content with a custom message
Editor preview mode shows how expired content will appear
Server-side rendering for accurate scheduling
Lightweight and fast — zero frontend JS required
Safe content sanitization with wp_kses_post()
Why this plugin?
Most “timed content” plugins rely on shortcodes or old TinyMCE dialogs.
Expire Content Block brings the experience to modern block editor standards, with intuitive UI and visual feedback.
Future PRO Features (coming soon)
Show content between specific dates
Multiple expiration rules per block
WooCommerce-based expiration triggers
Geolocation + time-based conditions
Replace with saved block patterns or templates
Analytics: how many times the block was shown before expiry
