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.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Dlogix Smart Reading Bar〉的開發相關工作。

參與者

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

對開發相關資訊感興趣?

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

變更記錄

1.0.0

  • Initial release.