Title: Timed Event Block
Author: santiagodel76
Published: <strong>2026 年 2 月 27 日</strong>
Last modified: 2026 年 3 月 14 日

---

搜索插件

![](https://ps.w.org/timed-event-block/assets/icon-256x256.png?rev=3470795)

# Timed Event Block

 作者：[santiagodel76](https://profiles.wordpress.org/santiagodel76/)

[下载](https://downloads.wordpress.org/plugin/timed-event-block.zip)

 * [详情](https://cn.wordpress.org/plugins/timed-event-block/#description)
 * [评价](https://cn.wordpress.org/plugins/timed-event-block/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/timed-event-block/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/timed-event-block/#developers)

 [支持](https://wordpress.org/support/plugin/timed-event-block/)

## 描述

Timed Event Block adds a server-rendered parent block for scheduling event content
by date/time, plus dedicated child blocks for dynamic date, time, and countdown 
output.

Ideal for event listings such as movie showtimes, class schedules, workshops, conferences,
livestreams, and similar use cases. It requires no global configuration: install
the plugin and start using the block directly in FSE workflows.

This plugin is designed for full site editing workflows where content creators need:

 * A single event container that can hold any core block (text, media, embeds, columns,
   groups, etc.).
 * Automatic status handling based on current server time:
 * Scheduled
 * Active
 * Ended
 * Optional automatic hiding of ended events (`Hide when ended`).
 * Child blocks that can be used only inside the Timed Event parent:
 * Event Date
 * Event Time
 * Event Countdown
 * Dynamic frontend updates for status/time/countdown without page refresh.
 * Native Gutenberg style controls (spacing, color, typography, border, dimensions)
   on parent and child blocks.

How it works:

 1. Add a **Timed Event** block.
 2. Set start date/time and duration.
 3. Insert any content you want.
 4. Optionally insert child blocks:

* **Event Date** for date display with site/custom format.
 * **Event Time** for
scheduled time and active/ended label transitions. * **Event Countdown** for countdown
to start/end and status transitions. 5. Publish. Frontend output is resolved server-
side, and dynamic text updates via lightweight view scripts.

### Blocks

#### Timed Event

Parent container block that controls event lifecycle and visibility.

Features:
 * Start date and time. * Duration in minutes. * Hide when ended toggle.*
Full inner content flexibility.

#### Event Date

Child block (ancestor-restricted to Timed Event) that reads parent context and renders
formatted date.

Features:
 * Site default format or custom format string. * Uses WordPress timezone
and date settings by default.

#### Event Time

Child block that reads parent context and renders:
 * Scheduled state: formatted
time. * Active state: configurable active label. * Ended state: configurable ended
label.

Features:
 * Site/custom time format. * Editable active/ended labels. * Editable
active/ended colors. * Dynamic frontend state update.

#### Event Countdown

Child block that reads parent context and renders:
 * Countdown to start or countdown
to end. * Active/ended label after countdown completion.

Features:
 * Target mode: `to_start` or `to_end`. * Day visibility toggle. * Custom
separator. * Editable active/ended labels. * Editable active/ended colors. * Dynamic
frontend state update.

## 屏幕截图

 * [[
 * Editor view with the Timed Event block and open start date/time picker in the
   block settings.
 * [[
 * Frontend cinema schedule showing multiple event cards with active and countdown
   states.
 * [[
 * Site Editor layout with a selected Timed Event item showing Scheduled status 
   and countdown output.
 * [[
 * Block sidebar settings for Timed Event, including start date/time, duration, 
   and Hide when ended.
 * [[
 * Frontend event list showing ended-state labels and final status text (“Screening
   Finished”).

## 区块

该插件提供了 4 个区块.

 *   Event Time Displays event time or current event status from parent Timed Event
   block.
 *   Timed Event (Container) Server-side scheduled event item.
 *   Event Countdown Displays a countdown to event start time from parent Timed 
   Event block.
 *   Event Date Displays event date from parent Timed Event block.

## 安装

 1. Upload the plugin folder to `/wp-content/plugins/`, or install it as a ZIP from**
    Plugins > Add New > Upload Plugin**.
 2. Activate **Timed Event Block** in **Plugins**.
 3. Open the Site Editor or Post Editor.
 4. Insert the **Timed Event** block.
 5. Configure start date/time, duration, and visibility behavior.

## 常见问题

### Can I use Event Date, Event Time, or Event Countdown outside Timed Event?

No. These child blocks are restricted to Timed Event context by design.

### Can I place media and embeds inside Timed Event?

Yes. The parent block supports flexible inner content and is not limited to a narrow
block whitelist.

### Which timezone is used for state and rendering?

WordPress site timezone (`Settings > General`) is used on server-side rendering.

### Why does an ended event disappear?

If `Hide when ended` is enabled on the parent block, ended events are not rendered
on frontend.

### Does status update without refreshing the page?

Yes for dynamic child outputs (Event Time and Event Countdown), via lightweight 
frontend scripts.

### Does this plugin support multilingual labels?

Yes. Labels are user-editable, and static UI strings are prepared with WordPress
i18n functions.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Timed Event Block」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ santiagodel76 ](https://profiles.wordpress.org/santiagodel76/)

[帮助将「Timed Event Block」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/timed-event-block)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/timed-event-block/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/timed-event-block/)，或通过[RSS](https://plugins.trac.wordpress.org/log/timed-event-block/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/timed-event-block/)。

## 更新日志

#### 0.1.2

 * Improved Event Countdown output by hiding exhausted leading units (days/hours/
   minutes) when they reach zero.
 * Added editable `Prefix label` and `Suffix label` for countdown context text, 
   rendered only while countdown is active.
 * Added singular and plural unit labels for day/hour/minute/second with automatic
   unit selection based on value.
 * Removed leading zero padding from countdown units for cleaner numeric output.

#### 0.1.1

 * Initial public release.
 * Added Timed Event parent block with server-side scheduling logic.
 * Added Event Date child block with site/custom date format.
 * Added Event Time child block with dynamic scheduled/active/ended states.
 * Added Event Countdown child block with start/end targets and dynamic updates.
 * Added native style support for spacing, color, typography, border, and dimensions.

## 额外信息

 *  版本 **0.1.2**
 *  最后更新：**4 周前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.5 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/timed-event-block/)
 * 标签
 * [countdown](https://cn.wordpress.org/plugins/tags/countdown/)[Event](https://cn.wordpress.org/plugins/tags/event/)
   [fse](https://cn.wordpress.org/plugins/tags/fse/)[gutenberg](https://cn.wordpress.org/plugins/tags/gutenberg/)
   [schedule](https://cn.wordpress.org/plugins/tags/schedule/)
 *  [高级视图](https://cn.wordpress.org/plugins/timed-event-block/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/timed-event-block/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/timed-event-block/reviews/)

## 贡献者

 *   [ santiagodel76 ](https://profiles.wordpress.org/santiagodel76/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/timed-event-block/)