
內容簡介
Auto Refresh Post & Page 外掛可自動更新網站內容,讓訪客無需手動刷新頁面,特別適合用於即時博客、計分板及頻繁變動的頁面,提升用戶體驗。
【主要功能】
• 雙重刷新模式:完整頁面重載與智能內容刷新
• 視覺倒數計時器:可選擇進度條或浮動小工具
• 智能暫停:在用戶輸入時暫停刷新
• 用戶角色例外:可排除特定用戶角色
• 精細規則:可設定每個文章類型的刷新間隔
• 彈性短碼:提供本地控制的短碼選項
外掛標籤
開發者團隊
原文外掛簡介
Auto Refresh Post & Page keeps your content fresh without visitors lifting a finger. Perfect for live blogs, score boards, dashboards, auction listings, stock tickers, queue displays and any page that changes frequently.
Version 2.0 is a complete rebuild with a modern settings dashboard and a set of features designed for real-world sites:
Dual refresh modes
Full Page Reload — the classic, works everywhere.
Smart Content Refresh (AJAX) — fetches the page in the background and swaps only the container you choose (e.g. #main-content). No flicker, no scroll jump. Falls back to a full reload automatically if the target can’t be found.
Visual countdown timer
Optional progress bar (top or bottom of the page) or a floating circular widget.
Pick your own accent color and label.
Smart pausing
Pauses while a visitor is typing in a form or hovering the content area, so you never refresh someone mid-comment.
Pauses in hidden browser tabs and resumes on return.
Append ?no_refresh=true to any URL to disable refreshing for that visit.
User role exemptions
Exclude Administrators, Editors or any role from being refreshed so nobody’s work gets interrupted.
Granular rules
Global rules per post type with second/minute/hour intervals.
Per-post overrides (custom interval, custom mode, or disable entirely) right in the post editor.
A flexible shortcode for local control:
[auto_refresh interval=”30″ mode=”ajax” target=”#main-content” show_timer=”true” style=”circle” color=”#45c4bc”]
Built for production
Nonce and capability checks on every write operation.
All input sanitized, all output escaped.
Settings from version 1.x are migrated automatically.
Clean uninstall — removes its own options and post meta.
