TWG Reading Time Estimator
add estimated reading time before WordPress articles with customizable options.
by Deepanker Verma · github.com/deepanker70/twg-reading-time · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/deepanker70/twg-reading-time/archive/refs/heads/main.zipDescription
The TWG Reading Time Estimator is a WordPress plugin that calculates and displays the estimated reading time for your posts. It provides customizable options to control how the reading time is displayed, allowing you to seamlessly integrate it into your website's design.
Key Features
- Accurate Reading Time Calculation: Estimates reading time based on word count.
- Customizable Display Text: Set the text that precedes the reading time (e.g., "Reading Time:", "Estimated Read Time:").
- Reading Speed Setting: Adjust the words per minute (WPM) used for the calculation.
- Show/Hide Seconds: Choose whether to display the reading time in minutes only or with minutes and seconds.
- Customizable Minutes/Seconds Text: Set the text that is displayed after the minutes, and the seconds.
- Exclude Post Types: Select specific post types where the reading time should not be displayed.
- Manual Placement: Use a shortcode to manually place the reading time within your content.
- Automatic Placement: Automatically display the reading time before or after your post content.
Installation
- Download the plugin ZIP file.
- In your WordPress admin panel, go to "Plugins" > "Add New".
- Click "Upload Plugin" and upload the ZIP file.
- Click "Install Now" and then "Activate".
Configuration
- In your WordPress admin panel, go to "Settings" > "Reading Time".
- Configure the following options:
- Reading Speed (words per minute): The average reading speed in words per minute. The default is 200.
- Reading Time Placement: Choose where to display the reading time (before content, after content, or manually using a shortcode).
- Custom Text: The text to display before the reading time.
- Show Seconds: Check to display seconds in the reading time.
- Exclude Post Types: Select the post types where you don't want to display the reading time.
- Minutes Text: Text to display after minutes.
- Seconds Text: Text to display after seconds.
- Click "Save Changes".
Usage
- Automatic Display: The reading time will be automatically displayed before or after your post content, depending on your "Reading Time Placement" setting.
- Manual Display (Shortcode): To display the reading time manually, use the
[twg_reading_time]shortcode in your post content.
Changelog
- 1.0
- Initial release.
Contributions
Contributions are welcome! Please submit pull requests or create issues to suggest improvements or report bugs.
License
This plugin is released under the GNU General Public License v2.0. A copy of the license is provided below.