Dlogix Smart Reading Bar

描述

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 requestAnimationFrame and passive scroll listeners.
  • Zero dependencies — no jQuery, no external libraries, no CDN calls.
  • Fully accessible: ARIA role="progressbar" with live aria-valuenow updates.
  • Multisite compatible.
  • Clean uninstall — removes all plugin data when deleted.
  • PHP 7.2+ compatible.

安裝

  1. Upload the dlogix-smart-reading-bar folder to /wp-content/plugins/.
  2. Activate the plugin through the Plugins screen in WordPress Admin.
  3. 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_open for modern themes, with an automatic fallback via the_content for 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.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Dlogix Smart Reading Bar” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Dlogix Smart Reading Bar 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.0

  • Initial release.