外掛說明
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
安裝方式
- Upload the
scheduled-block
folder to your/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Add a “Scheduled Block” to any post/page
- Set your start/end times in the block settings
- 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.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
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