[WordPress] 外掛分享: TimeFly

首頁外掛目錄 › TimeFly
WordPress 外掛 TimeFly 的封面圖片
10+
安裝啟用
尚無評分
63 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v0.2.1 上架:2025-11-06

內容簡介

總結:TimeFly透過自訂區塊為WordPress新增了強大的基於時間的可見性控制,可根據您的時間表自動顯示或隱藏內容,非常適合用於公告、季節性促銷、營業時間和僅應在特定時間可見的任何內容。

問題與答案:

1. TimeFly主要用途是什麼?
- TimeFly主要用途是透過時間表自動顯示或隱藏內容,適合用於公告、季節性促銷、營業時間和需要在特定時間可見的內容。

2. TimeFly有幾種可見性模式?
- TimeFly有三種可見性模式:Show Until(直到顯示)、Show From(從何顯示)、和Show Between(特定時間範圍內顯示)。

3. 使用TimeFly時,可以設定哪些彈性排程?
- 使用TimeFly時,可以設定單次排程和週復發排程,支援複雜的週期模式。

4. TimeFly支援哪些開發人員功能?
- TimeFly支援乾淨的、語義化的HTML輸出、與WordPress內的任何區塊一起工作、具有專業的代碼質量和文檔、並且對SEO友好。

5. TimeFly的技術細節包括哪些內容?
- TimeFly使用WordPress區塊編輯器(Gutenberg)、伺服器端呈現以提升安全性和性能、瞬時緩存進行有效的區塊掃描、並且無需創建數據庫表格,具有最小的性能影響等。

以上為想要的內容資訊,希望對你有幫助。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.2.1) 或搜尋安裝

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

原文外掛簡介

TimeFly adds powerful time-based visibility control to WordPress through a custom block that automatically shows or hides content based on your schedule. Perfect for announcements, seasonal promotions, business hours, and any content that should only be visible during specific times.
Key Features

Three Visibility Modes:

Show Until – Content visible now, hidden after specified date/time
Show From – Content hidden now, visible after specified date/time
Show Between – Content only visible within specific date/time range

Flexible Scheduling:

One-time schedules for specific dates
Recurring weekly schedules for business hours or regular events
Support for complex recurring patterns

User-Friendly Interface:

Real-time visibility status preview in editor
Site timezone awareness with current time display
Visual status indicators (visible/hidden/misconfigured)
Validation to prevent invalid date ranges

Developer Features:

Clean, semantic HTML output
SEO-friendly (hidden content absent from HTML)
Works with any WordPress block inside
Professional code quality and documentation

Use Cases

Display “We’re Open!” during business hours
Show seasonal promotions during specific dates
Hide outdated announcements automatically
Display event information only until event date
Show different content for weekdays vs weekends
Create time-sensitive calls-to-action

How It Works

Add a TimeFly block to any page or post
Select your visibility mode (Show Until, Show From, or Show Between)
Choose one-time or recurring weekly pattern
Configure your dates and times
Add your content inside the block
Publish – content automatically appears/disappears on schedule

All scheduling uses your WordPress site timezone for accurate visibility control.
Technical Details

Uses WordPress block editor (Gutenberg)
Server-side rendering for security and performance
Transient caching for efficient block scanning
No database tables created
Lightweight with minimal performance impact

Support
For support, feature requests, or bug reports, please visit the WordPress.org support forum.
Developer Information
TimeFly is built with modern WordPress development practices:

React-based block editor interface
Server-side rendering with PHP
WordPress coding standards compliant
Comprehensive PHPDoc documentation
Security-first approach with proper sanitization
Performance-optimized with transient caching
Accessibility-ready with ARIA attributes

Source Code
The compiled JavaScript in /build/index.js is built from human-readable source files in the /src directory of the plugin. Source files include block.json, edit.js, save.js, render.php, and SCSS stylesheets. The build process uses @wordpress/scripts. All source code is included in the plugin distribution.
The plugin is open for contributions and feature suggestions. Visit the support forum to participate in development discussions.
Privacy Policy
TimeFly does not collect, store, or transmit any user data. All scheduling information is stored locally in your WordPress database as part of block content. No external services are contacted. No cookies are set. No analytics are tracked.
Credits
Developed by LaughterOnWater with a focus on code quality, user experience, and WordPress best practices.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon