Title: Auto Refresh Post &amp; Page
Author: Aasim Ghaffar
Published: <strong>6 Novembre 2023</strong>
Last modified: 31 Luglio 2026

---

Ricerca i plugin

![](https://ps.w.org/auto-refresh-post-page/assets/banner-772×250.png?rev=3010375)

![](https://ps.w.org/auto-refresh-post-page/assets/icon-256x256.png?rev=3009975)

# Auto Refresh Post & Page

 Di [Aasim Ghaffar](https://profiles.wordpress.org/cubixsol/)

[Scarica](https://downloads.wordpress.org/plugin/auto-refresh-post-page.2.0.1.zip)

 * [Dettagli](https://it.wordpress.org/plugins/auto-refresh-post-page/#description)
 * [Recensioni](https://it.wordpress.org/plugins/auto-refresh-post-page/#reviews)
 *  [Installazione](https://it.wordpress.org/plugins/auto-refresh-post-page/#installation)
 * [Sviluppo](https://it.wordpress.org/plugins/auto-refresh-post-page/#developers)

 [Supporto](https://wordpress.org/support/plugin/auto-refresh-post-page/)

## Descrizione

**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`, 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.

## Screenshot

[⌊Modern administrative dashboard highlighting post-type rules.⌉⌊Modern administrative
dashboard highlighting post-type rules.⌉[

Modern administrative dashboard highlighting post-type rules.

[⌊The Refresh Behavior control center displaying role-based exclusions and smart
pausing triggers.⌉⌊The Refresh Behavior control center displaying role-based exclusions
and smart pausing triggers.⌉[

The Refresh Behavior control center displaying role-based exclusions and smart pausing
triggers.

[⌊Typography and Design control tab featuring countdown timer adjustments with real-
time previews.⌉⌊Typography and Design control tab featuring countdown timer adjustments
with real-time previews.⌉[

Typography and Design control tab featuring countdown timer adjustments with real-
time previews.

[⌊Front-end representation of the circular countdown widget interface.⌉⌊Front-end
representation of the circular countdown widget interface.⌉[

Front-end representation of the circular countdown widget interface.

[[

[[

[[

## Installazione

 1. Log into your WordPress Dashboard and navigate to **Plugins > Add New**.
 2. Search for `Auto Refresh Post & Page`, or upload the `.zip` archive via the **Upload
    Plugin** interface.
 3. Activate the plugin through the **Plugins** menu.
 4. Access the dedicated **Auto Refresh** settings page from your admin sidebar menu.
 5. Define your global post types, establish desired refresh intervals, and click **
    Save Changes**.
 6. _(Optional)_ Fine-tune specific constraints at the page level via the meta box 
    available directly within your post editor.

## FAQ

### How exactly does the Smart AJAX Refresh mode operate?

Instead of issuing a destructive browser reload, the plugin asynchronously fetches
the current page state in the background. It isolates the matching DOM element based
on your specified CSS selector, updates only that section, and maintains the user’s
current scroll position. This bypasses white flashes and ensures a smooth user experience.

### What happens if an AJAX CSS selector fails to match any elements?

The plugin features a robust error-handling fallback system. If a selector cannot
be resolved within the live DOM tree, it automatically initiates a native page reload
so your content refresh cycle never fails silently.

### Can content managers suppress refreshing during editing sessions?

Yes. You can exempt specific administrative or editorial roles via the **Refresh
Behavior** configurations tab, or append `?no_refresh=true` to the destination URL
inside the browser.

### Will my legacy 1.x configurations be preserved during the 2.0 migration?

Absolutely. Our architecture intercepts older post-type rules and per-post meta,
programmatically standardizing and importing them into the new schema on the initial
execution loop of v2.0.

### Is there a threshold for minimum refresh intervals?

Yes. To avoid localized browser freezing and alleviate extreme server stress, the
plugin enforces a safety floor of 2 seconds. Sub-second queries are normalized automatically
up to 2 seconds.

### Is this solution compatible with WordPress Caching Plugins?

Yes. While Full Page Reload mode cooperates naturally with all standard caching 
layers, AJAX mode adds an automated cache-busting string parameter to the background
query, forcing fresh origin fetches while keeping page speed optimized.

## Recensioni

![](https://secure.gravatar.com/avatar/e1961fa1921461b2d0bac028677a436d37cbe7399e2e624a6d99d5942658391f?
s=60&d=retro&r=g)

### 󠀁[The plugin does exactly what I was looking for](https://wordpress.org/support/topic/the-plugin-does-exactly-what-i-was-looking-for/)󠁿

 [hajo22](https://profiles.wordpress.org/hajo22/) 27 Gennaio 2024

The plugin does exactly what I was looking for. And that makes it very simple and
marvellous

 [ Leggi tutte le recensioni di 2 ](https://wordpress.org/support/plugin/auto-refresh-post-page/reviews/)

## Contributi e sviluppo

“Auto Refresh Post & Page” è un software open source. Le persone che hanno contribuito
allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

 *   [ Aasim Ghaffar ](https://profiles.wordpress.org/cubixsol/)

[Traduci “Auto Refresh Post & Page” nella tua lingua.](https://translate.wordpress.org/projects/wp-plugins/auto-refresh-post-page)

### Ti interessa lo sviluppo?

[Esplora il codice](https://plugins.trac.wordpress.org/browser/auto-refresh-post-page/)
segui il [repository SVN](https://plugins.svn.wordpress.org/auto-refresh-post-page/),
segui il [log delle modifiche](https://plugins.trac.wordpress.org/log/auto-refresh-post-page/)
tramite [RSS](https://plugins.trac.wordpress.org/log/auto-refresh-post-page/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.0.1

 * **Compatibility:** Fully verified and tested against WordPress 7.0 core.
 * **Maintenance:** Restructured plugin header definitions for enhanced metadata
   readability.

#### 2.0.0

 * **Refactor:** Complete system architectural rebuild featuring a state-of-the-
   art tabbed admin dashboard.
 * **New Feature:** Introduced Smart Content Refresh (AJAX) engine to swap specific
   DOM nodes seamlessly.
 * **New Feature:** Added visual countdown animations (including linear progress
   bar and floating wheel layouts) with direct hex control.
 * **New Feature:** Implemented User Role Exclusions.
 * **New Feature:** Created smart pausing hooks linked to focus inputs, element 
   hover states, and hidden browser tabs.
 * **New Feature:** Built the `?no_refresh=true` query parameter exception hook.
 * **New Feature:** Launched extensible `[auto_refresh]` shortcode architecture.
 * **New Feature:** Integrated inline post and page editor overrides for custom 
   workflows.
 * **Optimization:** Purged legacy database routines to optimize front-end rendering
   performance.
 * **Security:** Integrated deep context-specific sanitization, nonce verification,
   and strict output escaping.
 * **Housekeeping:** Embedded clean uninstallation schemas to wipe obsolete 1.x 
   entries.

#### 1.0.2

 * Added selective user-role sorting configurations per active post type.
 * Introduced “Last Refreshed” reporting column to administration grids.

#### 1.0.1

 * Added native time-unit selectors accepting Hours, Minutes, and Seconds inputs.

## Meta

 *  Versione **2.0.1**
 *  Ultimo aggiornamento **4 giorni fa**
 *  Installazioni attive **50+**
 *  Versione WordPress ** 5.8 o superiore **
 *  Testato fino alla versione **7.0.2**
 *  Versione PHP ** 7.4 o superiore **
 *  Lingua
 * [English (US)](https://wordpress.org/plugins/auto-refresh-post-page/)
 * Tag
 * [auto refresh](https://it.wordpress.org/plugins/tags/auto-refresh/)[countdown timer](https://it.wordpress.org/plugins/tags/countdown-timer/)
   [page refresh](https://it.wordpress.org/plugins/tags/page-refresh/)[Post Refresh](https://it.wordpress.org/plugins/tags/post-refresh/)
 *  [Visualizzazione avanzata](https://it.wordpress.org/plugins/auto-refresh-post-page/advanced/)

## Valutazioni

 5 su 5 stelle.

 *  [  1 5- recensioni a stelle     ](https://wordpress.org/support/plugin/auto-refresh-post-page/reviews/?filter=5)
 *  [  0 recensioni a 4-stelle     ](https://wordpress.org/support/plugin/auto-refresh-post-page/reviews/?filter=4)
 *  [  0 recensioni a 3-stelle     ](https://wordpress.org/support/plugin/auto-refresh-post-page/reviews/?filter=3)
 *  [  0 recensioni a 2-stelle     ](https://wordpress.org/support/plugin/auto-refresh-post-page/reviews/?filter=2)
 *  [  0 recensioni a 1-stelle     ](https://wordpress.org/support/plugin/auto-refresh-post-page/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/auto-refresh-post-page/reviews/#new-post)

[Vedi tutte le recensioni](https://wordpress.org/support/plugin/auto-refresh-post-page/reviews/)

## Collaboratori

 *   [ Aasim Ghaffar ](https://profiles.wordpress.org/cubixsol/)

## Supporto

Hai qualcosa da dire? Ti serve aiuto?

 [Chiedi nel forum di supporto](https://wordpress.org/support/plugin/auto-refresh-post-page/)