Wordpress Reading Time Plugin

Hero image of Wordpress Reading Time Plugin

A Block plugin that calculates the estimated time to read an article.

Wordpress Developer

PHP, Wordpress, JavaScript

View Code

Project Overview

I developed this plugin while building my own WordPress blog. Medium has a similar feature built in and I couldn't find this functionality in out-of-the-box WordPress, so I decided to learn WordPress Gutenburg block development.

I used WordPress' create-plugin tool to scaffold the plugin. The MVP version of this plugin doesn't need any customization features, so I simply calculated the reading time for the editor using JavaScript and the actual page using PHP. I chose 200 words per minute (WPM) to calculate the reading time thanks to this article. Future versions of this plugin will give users the option to customize the WPM.

semaj

Connect with me

Copyright ©2024 Semaj. All Rights Reserved.

Built with NextJS and TailwindCSS