Connect with us

Wordpress Plugins

How to Display: Popular WordPress Posts by Reading Time

We all want to reduce our site’s bounce rate and turn our casual visitors into loyal readers. One way to do so is by showing your visitors your top content. Most popular posts plugins take into account views. Another way would be to rank popular posts by reading time. To get started, first we write a function to track reading time:

Currently trending WordPress plugins

This plugin simply adds an event listener and tracks time spent on a post. The next function will display popular posts based on average reading time:

This function sorts posts by average reading time in descending order and displays the posts with the longest average reading time. You can always modify this with more advanced features.

[more tips]

Continue Reading
You may want to check out:
*some of our articles and lists include affiliate links to fund our operations (e.g. Amazon, Elegant Themes, Envato). Please read our disclaimer on how we fund Exxponent.
You may also like...
Click to comment

Leave a Reply

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

More in Wordpress Plugins

To Top