[WordPress] 外掛分享: WST Block Timer

首頁外掛目錄 › WST Block Timer
全新外掛
安裝啟用
尚無評分
2 天前
最後更新
問題解決
WordPress 7.0+ PHP 8.2+ v1.0.0 上架:2026-09-10

內容簡介

WST Block Timer 是一款可設定顯示時間的容器區塊外掛,讓使用者可以在特定的開始和結束時間內顯示內容。適合用於限時公告、季節性橫幅或任何需要定時顯示的內容,無需再次編輯頁面。

【主要功能】
• 一個容器區塊可容納任意內部區塊
• 設定開始和結束時間,或兩者皆可
• 訪客無法看到超出範圍的內容
• 登入的工作人員可預覽超出範圍的內容
• 時間根據網站的時區進行評估

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

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

原文外掛簡介

WST Block Timer adds a single container block. Put any blocks inside it and set a start and/or end date and time; the contents appear on the front end only during that period. Before the start and after the end, the block outputs nothing.
Use it for time-limited announcements, seasonal banners, campaign notices, or any content that should appear and disappear on a schedule without you editing the page again.
Key features

One container block (“Block Timer”) that holds any inner blocks
Set a start, an end, or both — leave a side empty to leave it open-ended
For regular visitors, out-of-range content is left off the page
Optional preview: signed-in staff can see out-of-range content in a dashed box, to check it before it goes live
Choose who sees that preview: Administrators only, Editors and above, or Authors and above
Times are evaluated in your site’s timezone
While a preview is active, that page’s full-page cache is disabled so out-of-range content is not served to regular visitors
If WST Date Simulator (by the same author) is also active, both plugins use the same simulated time as “now”, so a scheduled display period can be previewed together with scheduled posts

About permissions

Viewing the preview and changing the plugin’s settings use separate permission checks
Changing the settings always requires an Administrator (manage_options)
Who can view the preview is configurable on the settings screen (Editors and above, by default)

Good to know

This is a presentational schedule, not access control. Hidden content still exists in the post and may be reachable through revisions, feeds, or the REST API. Do not use it to protect secret information.
Crossing the start or end time does not change a cached page until it is regenerated. Shorten your cache lifetime or exclude the affected pages if exact switch timing matters.
Deactivating the plugin stops the schedule. Content saved by this plugin is stored in a form that is usually not shown by the browser, but this is not a security measure.

延伸相關外掛

文章
Filter
Mastodon