=== AjaxPress – AJAX Navigation, Instant Page Load & Persistent Player === Contributors: arraystory, iamjafran Donate link: https://arraystory.com/donate Tags: ajax navigation, wordpress spa, no page reload, prefetch, persistent player Requires at least: 5.3 Tested up to: 6.9 Stable tag: 2.2.5 Requires PHP: 5.6 License: GPL3 License URI: https://www.gnu.org/licenses/gpl-3.0.html AJAX navigation for WordPress. Pages load instantly without refresh. Audio/video keeps playing while browsing. 14KB, no jQuery dependency. == Description == **Your audio never stops.** AjaxPress keeps music, podcasts, and radio streams playing while visitors browse your site. **Pages load in milliseconds.** No refresh, no white screen – just instant content. [youtube https://www.youtube.com/watch?v=Sq0b3PVJJfs] = Radio, Podcast, or Music Site? = Install AjaxPress now. Your listeners will thank you. * Stream keeps playing during navigation * No interruption when browsing pages * Works with HTML5, iframe embeds, Shoutcast, Icecast = How AjaxPress is Different = * **Full page swap:** All content updates instantly without page reload * **Persistent player:** Media keeps playing during navigation * **AJAX forms:** Forms and comments submit instantly * **WordPress native:** Works seamlessly with most themes and builders * **No jQuery:** Lightweight frontend, no dependency * **Size:** Only 14KB frontend footprint Flying Pages only prefetches. InstantClick and Swup need custom setup. AjaxPress works out of the box with persistent media playback. = Features = * **AJAX navigation for WordPress** – True SPA experience out of the box * **Persistent audio/video** – Media keeps playing across pages * **Instant navigation** – Content loads without page refresh * **Prefetch on hover** – Pages preload before click * **AJAX forms** – Contact Form 7, comments submit instantly * **Page transitions** – Fade, slide, custom animations * **Progress bar** – Visual loading indicator * **14KB, no jQuery** – Lighter than most plugins = Perfect For = * **Radio stations** – Live stream never stops * **Podcast sites** – Episodes play uninterrupted * **Music portfolios** – Seamless listening experience * **WooCommerce** – Fast product browsing * **Blogs** – Instant article switching = SEO & Crawl Safe = * Real URLs via History API (no hash routing) * Meta tags update per page * Search engines crawl normally * Compatible with Yoast SEO, Rank Math * Google Analytics supported = Who Should NOT Use This Plugin = * Sites with heavy inline JavaScript that can't reinitialize * Single-page sites with no internal navigation * Sites requiring full page reload for tracking * Developers needing manual History API control = Works With = WooCommerce, Elementor, Contact Form 7, Yoast SEO, Rank Math, WP Rocket, LiteSpeed Cache, Cloudflare. Compatible with HTML5 players, Spotify, SoundCloud, YouTube embeds, Shoutcast, Icecast. = Performance = * **14KB** frontend footprint * **No jQuery** dependency * **Zero server overhead** – just AJAX fetches * Works with all caching plugins == Installation == 1. Go to **Plugins → Add New** 2. Search for **AjaxPress** 3. Click **Install Now**, then **Activate** 4. Done – your site now loads instantly Optional: Visit **Settings → AjaxPress** to customize. == Frequently Asked Questions == = What is instant page load? = Pages appear immediately without waiting. AjaxPress fetches content via AJAX – no full page refresh needed. = Will my audio/video keep playing? = Yes. That's the main feature. Your media player continues uninterrupted while users browse. = How does prefetch work? = Pages preload when users hover over links. When they click, content is already loaded. = What are AJAX forms? = Forms submit without page refresh. Contact Form 7 and comments post instantly with feedback. = Will it break my SEO? = No. URLs update via History API (real URLs, not hash fragments). Meta tags refresh per page. Search engines crawl normally. = Will it work with my theme? = Yes. Works with most themes including Elementor, Divi, Astra, and WooCommerce themes. = My slider stopped working? = Enable "Script Re-execution" in settings. This reinitializes JavaScript after navigation. = Is it really 14KB? = Yes. No jQuery dependency. Lighter than most prefetch plugins. == Screenshots == 1. Navigation settings 2. Loader styles 3. Cursor behaviours 4. Transitions and page content animations 5. Preserve elements for persistent audio/video players 6. Accessibility 7. Advanced scripting and re-executing 8. Help pages 9. AJAX search, comments and form submissions 10. Loader progress bar == Changelog == = 2.2.5 = * Fixed: Modal not reopening after first use (event listener memory leak) * Fixed: Sliders and countdown timers freezing (timer cleanup now preserves third-party timers) * Fixed: Forms, comments, search, and accessibility features breaking after AJAX navigation * Fixed: Search forms not responding on first click after page change * Fixed: CSS breaking on theme pages (expanded protection patterns) * Fixed: Back button issues with hash URLs * Improved: Same-page links now properly AJAX reload * Improved: Prevent Reloads feature uses AJAX reload and only prompts when inputs are modified * Improved: Prefetch properly cancels when mouse leaves link = 2.2.4 = * Improved: Redesigned preview panel with realistic website mockup * Improved: Simplified Help page - cleaner Getting Started and Troubleshooting sections * Improved: Help search now scrolls to and highlights the selected result * Fixed: Desktop/mobile toggle now works correctly in preview panel * Update: Renamed "Appearance" section to "Customization" = 2.2.3 = * New: Preserve Elements – keep DOM elements intact during navigation * New: Persistent Player – audio/video continues across pages * Improved: Script loading with proper sequencing * Improved: Same-page click handling = 2.2.2 = * New: Feature tour guide * Improved: Script re-execution logic * Improved: Timer/interval cleanup = 2.2.1 = * New: Script Re-execution for sliders * New: Exclude Scripts by URL * Improved: Third-party compatibility = 2.2.0 = * Complete UI redesign * New: Link Prefetch, Disable on Mobile * New: Custom CSS, Developer Hooks = 2.1.1 = * New: Translation support * Improved: Caching compatibility = 2.1.0 = * Fixed: JS conflicts * Improved: Page builder compatibility = 2.0.0 = * Major rewrite with new AJAX engine * New: Progress bar, cursor animation, page transitions = 1.0 = * Initial release == Upgrade Notice == = 2.2.5 = Major stability fixes for sliders, countdown timers, forms, and back button navigation. = 2.2.3 = Persistent player support – audio/video keeps playing during navigation. = 2.0.0 = Major update. Backup before upgrading.