| 开发者 |
imjafran
iamjafran benniledl arraystory |
|---|---|
| 更新时间 | 2026年8月12日 18:58 |
| PHP版本: | 7.1 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv3 |
| 版权网址: | 版权信息 |
src/, along with the Vite configs and package.json needed to rebuild it. src/frontend/ builds public/js/ajaxpress.min.js and src/admin/ builds public/js/admin.min.js, both with Vite.
From the plugin folder:
npm install
npx vite build --config ./src/frontend/vite.config.js
npx vite build --config ./src/admin/vite.config.js
Privacy & External Services
AjaxPress does not send anything anywhere on its own. Nothing below runs unless you turn it on or connect it, and none of it touches your visitors: no data from your site's frontend is ever collected.
PackEdge (optional diagnostics)
Optionally, and only with your explicit consent, AjaxPress can share non-confidential diagnostic data (such as PHP and WordPress version and plugin settings) with api.packedge.dev so we can reproduce and fix issues faster. You can review exactly what is shared and opt out at any time. See the PackEdge site and privacy policy.
Cloudflare (edge caching, optional)
If you connect a Cloudflare account on the Cache screen, AjaxPress talks to the Cloudflare API at api.cloudflare.com on your behalf to read zones and manage caching rules for your site. Nothing is sent to Cloudflare until you connect. See the Cloudflare privacy policy and terms.
If you use the one-click "Connect with Cloudflare" option, the authorization step passes through an OAuth relay we operate at ajaxpress-oauth.astory.workers.dev. The relay exists so the OAuth client secret never has to ship inside the plugin. It exchanges the authorization code for a token and hands it back to your site; the token is stored encrypted in your database. You can skip the relay entirely by pasting your own Cloudflare API token instead, which never leaves your server except to Cloudflare.
A single page application loads the site shell once and then swaps only the content when you move between pages, instead of reloading the whole browser page every time. AjaxPress turns an ordinary WordPress site into one without you rebuilding anything: it intercepts internal links, fetches the next page over ajax and replaces the content in place. URLs, the back button and search engine crawling all keep working as before.
Mark up the element that wraps your player so AjaxPress knows to carry it across navigation. Add data-ajaxpress-persist to it, or the class ajaxpress-persist, or give it an id starting with persistent-. The player element itself is then moved to the next page as the live element, so the stream never restarts. All of this works in the free version. If a theme or another plugin renders the player and you cannot edit its markup, the Media Players field in Pro lets you target it with a CSS selector.
Yes. Product pages, category browsing, the mini cart, ajax add-to-cart, the cart, checkout and My Account login and registration all work over ajax. Dynamic pages are excluded from edge caching automatically, so nobody is served another shopper's cart.
Yes. AjaxPress is tested with Astra, GeneratePress, Kadence, Divi, Avada, OceanWP, Blocksy, Neve, Flatsome, Storefront, and many more. No configuration needed.
Yes. Elementor, Bricks, Beaver Builder, Divi Builder, WPBakery, Oxygen, Breakdance, and Gutenberg are all tested and supported.
Yes. Contact Form 7, WPForms, Gravity Forms, Formidable Forms, Ninja Forms, Fluent Forms, and Elementor Forms all work out of the box.
Yes - that's AjaxPress's signature feature. Your media player continues uninterrupted while visitors browse your entire site. AjaxPress recognises a player it should keep alive in any of these ways, all of which work in the free version. Add whichever is easiest to the element wrapping your player:
data-ajaxpress-persist on the element, for example <div id="radio" data-ajaxpress-persist>ajaxpress-persistpersistent-, for example <div id="persistent-radio">data-persist on an <audio> or <video> tagYes. WP Rocket, LiteSpeed Cache, W3 Total Cache, WP Super Cache, SG Optimizer, Cloudflare, and Bunny CDN are all supported.
No. AjaxPress uses real URLs via the History API and syncs meta tags, canonical tags, and JSON-LD structured data on every navigation. Search engines crawl your site normally. Works with Yoast, Rank Math, and all major SEO plugins.
Yes. Pages built with modern JS frameworks work without style breaking or script conflicts. No configuration needed.
Yes. All modern browsers on all devices - desktop, tablet, and mobile - are fully supported.
ajaxpress_ajax_login filter