描述
Dlogix Smart Reading Bar adds a thin, animated progress bar to the top (or bottom) of every page on your WordPress site, giving readers a visual indicator of how far they have scrolled.
Features:
- Choose any bar color with the native color picker — no extra library needed.
- Position the bar at the top or bottom of the screen.
- Set bar thickness from 1 px to 20 px.
- Live preview in the settings page before saving.
- Buttery-smooth animation via
requestAnimationFrameand passive scroll listeners. - Zero dependencies — no jQuery, no external libraries, no CDN calls.
- Fully accessible: ARIA
role="progressbar"with livearia-valuenowupdates. - Multisite compatible.
- Clean uninstall — removes all plugin data when deleted.
- PHP 7.2+ compatible.
安装
- Upload the
dlogix-smart-reading-barfolder to/wp-content/plugins/. - Activate the plugin through the Plugins screen in WordPress Admin.
- Go to Settings Smart Progress Bar to customise the bar color, position, and thickness.
常见问题
-
Does the plugin slow down my site?
-
No. The plugin enqueues one tiny CSS file and one tiny JS file (each under 2 KB), uses a passive scroll listener, and throttles updates with
requestAnimationFrame. There are no external HTTP requests. -
Which pages show the progress bar?
-
By default the bar appears on all public-facing pages. It is automatically hidden in the admin area, feeds, embeds, and REST API responses.
-
Is the plugin compatible with block themes and FSE?
-
Yes. The plugin hooks into
wp_body_openfor modern themes, with an automatic fallback viathe_contentfor older themes that do not call that hook. -
Does it work with page builders?
-
Yes — the bar is injected into the page regardless of which page builder you use, as long as the theme properly calls WordPress template hooks.
-
Will my data be deleted if I uninstall the plugin?
-
Yes. All plugin settings are removed from the database when you delete (not just deactivate) the plugin. This works on both single-site and multisite installs.
评价
此插件暂无评价。
贡献者及开发者
更新日志
1.0.0
- Initial release.