Auto Refresh Post & Page
·
Auto refresh posts and pages on a schedule — full reloads or seamless AJAX updates, countdown timers, role exclusions and smart pausing.
评级
版本
2.0.1
活跃安装
50
最后更新
Jul 31, 2026
Auto Refresh Post & Page delivers real-time content delivery without requiring manual user intervention. It is the ideal solution for live blogs, sports scoreboards, analytics dashboards, auction listings, financial tickers, real-time queues, or any dynamic content platform where up-to-the-minute accuracy is critical.
Engineered for performance and a seamless user experience, Version 2.0 introduces a centralized configuration dashboard alongside an enterprise-grade feature set designed to optimize both front-end engagement and back-end efficiency.
Core Features
- Dual Refresh Architecture
- Full Page Reload: The dependable fallback that guarantees compatibility across all WordPress themes and hosting environments.
- Smart Content Refresh (AJAX): Background fetching that dynamically swaps only your designated container element (e.g.,
#main-content). This eliminates screen flicker, prevents scroll jumps, and heavily reduces bandwidth consumption. If the target element cannot be found, it gracefully degrades to a full reload automatically.
- Interactive Visual Countdown Timers
- Deploy an optional progress bar aligned to the top or bottom of the viewport, or use a floating circular widget.
- Fully customizable branding via custom hex color pickers and localized text labels.
- Intelligent Behavioral Pausing
- Activity-Aware: Automatically pauses the refresh sequence while a user is actively typing in a form or hovering over content to prevent lost data or interrupted interactions.
- Resource-Aware: Automatically pauses executions in background browser tabs to conserve server resources and client battery life, resuming instantly upon focus.
- Developer/Bypass Friendly: Temporarily suppress refreshing on any frontend URL by simply appending
?no_refresh=true.
- Granular Access Control & Exclusions
- Isolate specific user roles (such as Administrators or Editors) to ensure content creation and site management tasks remain uninterrupted.
- Targeted Rule Engines
- Global Strategies: Define refreshing intervals globally per custom post type in seconds, minutes, or hours.
- Granular Overrides: Tailor individual parameters (custom intervals, dedicated modes, or total deactivation) directly inside the WordPress Gutenberg or Classic block editor.
Robust Developer API & Shortcodes
Take localized control of any content block via our powerful shortcode integration:
[auto_refresh interval="30" mode="ajax" target="#main-content" show_timer="true" style="circle" color="#45c4bc"]
interval: Refresh frequency value (minimum effective value is 2 seconds).unit: Interval unit —seconds,minutes, orhours(default: seconds).mode: Choose betweenreloadorajax.target: The target DOM CSS selector for AJAX replacement.show_timer: Toggle visual feedback (true/false).style: Timer display format (barorcircle).color: Hex accent color for the inline timer.label: Optional text label rendered beside the countdown.
Built for Production Environments
- Security First: Strict WordPress nonce validation and user capability verifications protect every underlying write operation.
- Data Integrity: Deep sanitization pipelines for all user inputs and proper context-aware escaping on output generation.
- Zero-Downtime Migration: Legacy 1.x installations are automatically migrated safely to the modern 2.0 schema upon activation.
- 100% Clean Uninstall: Deactivating the plugin preserves all of your settings, while uninstalling it completely purges database options and post meta, leaving zero footprint.
