Post Reading Time & Progress Bar
wordpress-post-reading-time-progress-bar
by Code Artisan · github.com/tahir-rafiq2000/wordpress-post-reading-time-progress-bar
★ 0stars
0forks
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/tahir-rafiq2000/wordpress-post-reading-time-progress-bar/archive/refs/heads/main.zipA lightweight, professional WordPress utility that adds a "Reading Time" badge and a sticky progress bar to your posts.
Key Features
- Automatic Calculation: Accurately calculates reading time based on word count (~200 WPM).
- Sticky Progress Bar: A sleek, gradient progress bar that reflects the user's scroll depth.
- Customizable: Enable or disable the features for specific Post Types via a clean Settings page.
- Zero Dependencies: Built with vanilla PHP and clean ES6 JavaScript—no jQuery or external libraries required.
Installation
- Upload the
wordpress-post-reading-time-progress-barfolder to your/wp-content/plugins/directory. - Activate the plugin through the 'Plugins' menu in WordPress.
- Configure your desired post types under Settings > Reading Time.
Development
The plugin follows modern WordPress coding standards and uses a class-based architecture.
includes/: Contains PHP logic and settings.assets/: Contains Vanilla CSS and JS.composer.json: Provided for PSR-4 autoloading support.
Built with ❤️ by Code Artisan