=== GlitchSolvers Reading Time Estimator ===
Contributors: glitchsolvers
Tags: reading time, estimation, read, time
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 8.2
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Display the estimated reading time of your articles using a simple shortcode.

== Description ==

GlitchSolvers Reading Time Estimator calculates and displays the estimated reading time of your WordPress posts.  
The plugin is lightweight, fast, and easy to integrate with any theme or editor.

= Features =

* 📊 Automatically calculates the reading time
* 🔖 Customizable `[glitchsolvers_reading_time]` shortcode
* ⚙️ Adjustable words-per-minute value
* 🔧 Developer-friendly hooks
* ⚡ Optimized for performance

== Usage ==

**Shortcode:**

[glitchsolvers_reading_time]

**Shortcode options:**

* format — default, short, detailed
* prefix — Text displayed before the reading time
* suffix — Text displayed after the reading time
* class — Custom CSS classes

**Examples:**

Short format: `[glitchsolvers_reading_time format="short"]`.
With prefix: `[glitchsolvers_reading_time prefix="⏱️"]`.

== Developer Hooks ==

* `glitchsolvers_rte_words_per_minute` — Modify the words-per-minute value
* `glitchsolvers_rte_content_before_calculate` — Filter the content before calculation  
* `glitchsolvers_rte_calculate_result` — Filter the calculation result  
* `glitchsolvers_rte_formatted_output` — Filter the formatted output  

== Installation ==

1. Upload the plugin to `/wp-content/plugins/glitchsolvers-reading-time-estimator/`
2. Activate the plugin through the **Plugins** menu in WordPress
3. Configure the settings in **Settings → Reading Time**
4. Use the `[glitchsolvers_reading_time]` shortcode inside your posts or templates

== Frequently Asked Questions ==

= How do I change the words-per-minute value? =

Go to **Settings → Reading Time** and adjust the value (default: 200 words/minute).

= Does the plugin work with Gutenberg? =

Yes, it works with Gutenberg, the Classic Editor, Elementor, and all major page builders.

= Can I customize the display? =

Yes, you can use shortcode attributes or apply your own CSS classes.

= Does the plugin impact performance? =

No, the plugin is extremely lightweight and performs calculations only when needed.

== Screenshots ==

1. Settings page – configure words per minute  
2. Gutenberg usage – insert the shortcode block  
3. Elementor usage – use the shortcode widget  
4. Frontend display – example output  
5. Shortcode variations – short format

== Changelog ==

= 1.0.0 =
* Initial release
* Added `[glitchsolvers_reading_time]` shortcode
* Added settings page
* Added developer hooks

== Upgrade Notice ==

= 1.0.0 =
Initial version of the plugin.

== License ==

This plugin is free software; you can redistribute it and/or modify it  
under the terms of the GNU General Public License as published by  
the Free Software Foundation; either version 2 of the License, or  
(at your option) any later version.

This plugin is distributed in the hope that it will be useful,  
but WITHOUT ANY WARRANTY; without even the implied warranty of  
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License  
along with this plugin. If not, see https://www.gnu.org/licenses/gpl-2.0.html.
