=== SPP Reading Progress Indicator ===
Contributors: simpliplugin
Tags: reading progress, progress bar, scroll indicator, woocommerce, readability
Requires at least: 5.8
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A lightweight reading progress bar that fills as visitors scroll through posts, pages, and WooCommerce products.

== Description ==

SPP Reading Progress Indicator adds a thin progress bar to your site that shows readers how far they have scrolled through an article or product page. It is ideal for blogs, news sites, long-form content, and WooCommerce product pages.

**Features**

* Lightweight front-end script with no jQuery dependency
* Works on selected public post types, including WooCommerce products
* Supports the WooCommerce shop page and product category/tag archives
* Top or bottom bar position
* Custom bar color, track color, and height
* Configurable content selector for theme and WooCommerce compatibility
* Accessible progressbar markup with ARIA attributes (min 0 / max 100)
* RTL-aware bar fill direction

== Installation ==

1. Upload the `spp-reading-progress-indicator` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Go to **Settings → Reading Progress** to customize the bar.
4. For WooCommerce, enable the **Product** post type in settings.

== Frequently Asked Questions ==

= Does this plugin slow down my site? =

No. The plugin uses a small CSS file and a dependency-free JavaScript file that only loads on supported singular content.

= Can I choose which post types show the bar? =

Yes. Enable any public post type from the settings screen, including WooCommerce products.

= Does it work with WooCommerce? =

Yes. Enable the Product post type and the bar will track scroll progress on single product pages, the shop page, and product archives.

= My theme uses a custom content wrapper. Can I target it? =

Yes. Update the **Content selector** field with your theme's CSS selector.

== Screenshots ==

1. Reading progress bar at the top of a post.
2. Plugin settings page under Settings → Reading Progress.

== Changelog ==

= 1.0.2 =
* Added support for the WooCommerce shop page and product category/tag archives.
* Fixed scroll progress so the bar reliably fills while scrolling.
* Hardened top/bottom bar positioning.

= 1.0.1 =
* Fixed scroll progress so the bar correctly moves from 0% to 100%.
* Added WooCommerce product page support and selectors.
* Replaced the previous front-end progress script with a more reliable implementation.

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.2 =
Adds WooCommerce shop page support and fixes scroll/position tracking.

= 1.0.1 =
Fixes scroll min/max progress tracking and adds WooCommerce product support.

= 1.0.0 =
Initial release.
