這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Scheduled Block

外掛說明

The Scheduled Block plugin lets you easily manage time-sensitive content in WordPress. Simply wrap any Gutenberg blocks in a Scheduled Block container and set specific display times. Your content will automatically appear and disappear based on your schedule.

Key features:
– Visual date/time picker interface
– UTC timezone conversion for reliability
– Caching prevention for accurate scheduling
– Works with any inner blocks/content
– Lightweight and performance-optimized

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

螢幕擷圖

適用於區塊編輯器

這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。

  • Scheduled Block

安裝方式

  1. Upload the scheduled-block folder to your /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Add a “Scheduled Block” to any post/page
  4. Set your start/end times in the block settings
  5. Add content inside the block

常見問題集

How does timezone handling work?

All times are converted to UTC for comparison, using your WordPress general settings timezone for input conversion.

Why isn’t my block appearing/disappearing immediately?

Ensure your hosting doesn’t have server-level caching. The plugin includes caching prevention headers for WordPress-level caching.

Can I use multiple scheduled blocks on one page?

Yes! Each block operates independently with its own schedule.

What date format is used?

The plugin uses ISO 8601 format (YYYY-MM-DDTHH:MM:SS) internally while displaying times in your local WordPress timezone.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Scheduled Block〉的開發相關工作。

參與者

將〈Scheduled Block〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.8

  • Tested up to version corrected for WordPress i.e. 6.7
  • Used a unique prefix to avoid collisions, e.g. “schebl_”

1.0.7

  • Proper escaping using wp_kses_post

1.0.6

  • Fixed timezone conversion issues
  • Improved caching prevention
  • Added proper script registration parameters

1.0.5

  • Enhanced UTC time comparisons
  • Added server-side rendering optimizations
  • UI layout improvements

1.0.0

  • Initial release with core scheduling functionality