About this plugin
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.
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, or hours (default: seconds).
- mode: Choose between reload or ajax.
- target: The target DOM CSS selector for AJAX replacement.
- show_timer: Toggle visual feedback ( true / false ).
- style: Timer display format ( bar or circle ).
- 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.