Linux 软件免费装
Banner图

PagePulse

开发者 maheshmthorat
更新时间 2026年10月30日 18:03
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv3
版权网址: 版权信息

标签

loader preloader skeleton loading animation page transition

下载

0.1 1.0.0 1.0.1

详情介绍:

PagePulse shows clear, good-looking feedback whenever visitors wait: while a page loads, when they follow a link, submit a form, add a product to the cart, or when your own scripts fetch data. It is built to be safe on real sites: it never delays navigation, never changes how forms submit, never leaves a page covered, and never loads files a page does not need. PagePulse improves perceived loading. It does not make your pages load faster, and it is designed not to make them slower: no jQuery, CSS-only animations, a deferred script, and only the CSS of the loaders you use. Loading modes Animation library 33 loaders in four groups, every one pure CSS (with a little SVG) and configurable in colour, size, speed, direction and intensity: The seven transitions of PagePulse 0.1 are kept (slide top-bottom, slide bottom-top, fade, clip top/bottom, clip left/right, animated slides) plus zoom fade and none. Dashboard Settings → PagePulse has an overview, the animation library, loading triggers, a live builder with desktop/mobile preview and contrast check, ten presets plus your own, advanced settings, tools (frontend preview, compatibility diagnostics, recent errors, export/import, restore defaults, safe mode, temporary disablement) and developer documentation. The builder and its preview load only in the dashboard. Accessibility Works with Tested with WordPress 5.8, 6.1 and 7.1 on PHP 7.4 and 8.4; block and classic themes (Twenty Twenty-Five, Twenty Twenty-One, Storefront, Astra); Gutenberg, Elementor, WooCommerce (block and classic shop, classic cart), Contact Form 7, WPForms, Ninja Forms and the AJAX Loading plugin (1.1, and the 2.x event contract). The Gravity Forms integration (AJAX iframe mode) follows that plugin's documented events. Caching and optimisation plugins are supported (see FAQ). PagePulse stays out of page-builder editing canvases (Elementor, Beaver Builder, Divi, Bricks, Oxygen). AJAX Loading integration When AJAX Loading is active, it loads the content and PagePulse shows the transition. PagePulse listens to AJAX Loading's lifecycle events (wp_ajax_load_start, wp_ajax_load_complete, wp_ajax_load_error, wp_ajax_load_cancel in 2.x; History.js state changes in 1.x), keeps a single overlay (AJAX Loading's own indicator and 1.x page dimming are not shown at the same time) and respects PagePulse's link exclusions. Neither plugin requires the other. Turn the integration off under Loading triggers → Page navigation. For developers window.PagePulse (no dependencies): const h = PagePulse.show({ type: 'dots', text: 'Saving…' }); h.hide(); PagePulse.element.show('.product-container'); PagePulse.element.hide('.product-container'); PagePulse.button.show('#save', { text: 'Saving…' }); PagePulse.progress.set(60); // measured progress only PagePulse.track(fetch(url), { target: '#results' }); Loaders are reference counted (finishing one operation never hides a loader another operation still needs) and every loader times out on its own. Data attributes (data-pagepulse, data-pagepulse-target…), DOM events (pagepulse:start/pagepulse:end in, pagepulse:show/hide/timeout… out) and PHP hooks (pagepulse_should_load, pagepulse_frontend_config, pagepulse_animations, pagepulse_presets, pagepulse_overlay_markup…) are documented on the Developers tab and in DEVELOPERS.md. Privacy PagePulse loads no remote files, sets no cookies and sends nothing to third parties. "Only on the first page of a visit" uses the browser's sessionStorage. Debug mode records PagePulse's own JavaScript errors for administrators only.

安装:

From the Plugins screen
  1. Plugins → Add New, search for "PagePulse", install and activate.
  2. Settings → PagePulse → Overview → Turn on PagePulse.
  3. Pick an animation (Animations tab) or a preset (Presets tab), check it with Preview on site, then save.
Manually
  1. Upload the pagepulse folder to /wp-content/plugins/.
  2. Activate it under Plugins and continue with step 2 above.

屏幕截图:

  • Animation library: 33 loaders with live previews and the live preview panel.
  • Design: the live builder with desktop and mobile preview.
  • Skeleton placeholders in the page layout while products load.
  • WooCommerce: the add-to-cart button shows a spinner while the product is added.
  • Loading triggers: initial loading, navigation, element rules, forms, AJAX and WooCommerce.
  • Presets: ten built-in designs and your own.
  • Overview: status, active animation, triggers, integrations, recent changes and quick actions.
  • Tools: diagnostics, export/import, safe mode and temporary disablement.

升级注意事项:

1.0.1 New logo on the settings screen. No settings change. 1.0.0 Major update with a new loader library, triggers and dashboard. Your 0.1 settings are migrated and the site keeps its current look until you choose a new animation.

常见问题:

Will this make my site faster?

No. Loaders change how waiting feels, not how long it takes. PagePulse is built not to add to the wait: without jQuery, with CSS-only animations and a deferred script, the recommended setup added about 2 ms of script time and 17.6 KB of compressed files to a test page (PagePulse 0.1 added jQuery: 35.9 KB and 14 ms). The page-load overlay hides as soon as the page is ready unless you set a minimum display time.

The loader covers my page for too long

Set Hide when to "The page is ready", lower Maximum display under Loading triggers → Initial page loading, or turn the initial loader off and keep navigation feedback only.

A loader never disappears / something conflicts

Every loader has a maximum duration, so it cannot stay forever. To investigate: Tools → Safe mode (only the navigation progress bar and the API run), turn on debug mode (Advanced) and check the browser console and Tools → Recent errors, run Tools → Diagnostics. Emergency switches: add ?pagepulse-off to a URL, or define( 'PAGEPULSE_DISABLE', true ); in wp-config.php.

Does it work with page caching?

Yes. Device rules and "once per visit" are decided in the browser. Clear the cache after changing settings. If your optimisation plugin delays JavaScript, exclude "pagepulse"; the early snippet already carries data-no-optimize, data-no-defer and data-cfasync="false".

My theme does not call wp_body_open()

The overlay is then printed in the footer and a plain background covers the page until it is ready. Diagnostics shows which case applies.

Does it work on multilingual sites?

Yes. Default texts ("Loading…", "Sending…") follow the site language. Custom texts (message, loader text, button texts) are registered with WPML String Translation and Polylang (Languages → Translations, group "PagePulse") and shown in the visitor's language.

Can I hide PagePulse on some pages?

Advanced → Exclusions (URL patterns), the pagepulse_should_load filter, the class no-pagepulse or data-pagepulse="false" on links and forms.

Will my 0.1 settings survive?

Yes. On upgrade the 0.1 settings (on/off, effect, background colour and opacity) are migrated and the site keeps looking as before: the coloured overlay without a loader inside, shown until the page has loaded, on link navigation and on form submission. A copy of the original 0.1 settings is kept.

How do I roll back to 0.1?

Install 0.1 again: it reads the same option, which PagePulse 1.0 keeps up to date (on/off, effect, colour, opacity). Settings that only exist in 1.0 are kept in a backup and restored when you upgrade again.

更新日志:

1.0.1 1.0.0 0.1