跳到内容

TimeFly

v0.2.1

LaughterOnWater · 2025年11月7日 上架

Control when content appears on your WordPress site with dynamic time-based visibility scheduling.

正在使用
10+
评分
暂无
累计下载
638
最近更新
2026年2月9日
需要 WordPress 6.0+已测试到 6.9.12PHP 7.4+

截图

Timefly is available from the Appearance submenu
Timefly is available from the Appearance submenu
TimeFly block in the editor showing visibility controls and status indicator
TimeFly block in the editor showing visibility controls and status indicator
An example use-case with a schedule set to appear at a specific date and time.
An example use-case with a schedule set to appear at a specific date and time.
Block Scanner showing all TimeFly blocks across your site with visibility status
Block Scanner showing all TimeFly blocks across your site with visibility status
Settings page with uninstall behavior configuration
Settings page with uninstall behavior configuration
Recurring weekly schedule configuration for business hours
Recurring weekly schedule configuration for business hours

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

  1. Add a TimeFly block to any page or post
  2. Select your visibility mode (Show Until, Show From, or Show Between)
  3. Choose one-time or recurring weekly pattern
  4. Configure your dates and times
  5. Add your content inside the block
  6. 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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums