13 thoughts on “WordPress – Estimated Reading Time Leave a comment

  1. Pingback: WordPress – Estimated Reading Time
  2. Simple but effective, I would think. Remember seeing this feature on certain news sites sometime ago but had discontinued. Wonder if there’s a way to get this info on Google search listing info (just like the star buttons). For example, against a search result if it has a 5 star along with a reasonable reading of say 3 minutes, the CTR might just increase.

    Any thoughts?

  3. That’s cool, I’ll probably add it to my site, thanks!

    Just curious, how did you come up with the 120 words per minute? Is that a standard?

  4. Very handy addition to a theme. The need to call get_post() could be eliminated by using the ‘the_content’ filter:

    function bm_estimated_reading_time($content){ 
        //The logic
     
    		$content .= "";
        
    	return $content;
    }
    add_filter('the_content', 'bm_estimated_reading_time');
    1. That’s a good option if you want it added at the end of the post data for sure. I like to be able to mix up the location of the text though – so a separate function gives me that flexibility.

  5. I tried this code and it’s not working anymore. Is there any update to have it work with the latest version of WordPress?

    1. Hi Jesse – that’s strange. It definitely still works. You can see it in action in the theme linked in the article.

  6. Great Post!

    Following your post we’ve published a post not too long ago explaining how to create a WordPress plugin which display’s the estimated reading time (In Hebrew only at the moment).

    https://he.savvy.co.il/blog/?p=5262

    Hope that Hebrew sites owner’s will find it useful… 🙂

  7. Hi thanks for this great tutorial.
    put just to ask can your code be used for commercial purpose without any licensing issues?
    I would like to use it for a major project, so I opt to ask first.

    Regards.

    1. Hi Lawrence – thanks for the message. You’re more than welcome to use the code in your own projects.

      Thanks! Ben

Leave a Reply

Your email address will not be published. Required fields are marked *