Tag Archives: sort by

Creating a Widget that shows Most Popular Posts

Once you have a relatively established blog. Hopefully you will start having some posts become more popular than others. I’m sure they are all great! To you anyway.. :p

I really like the idea of people been confronted with other potentially useful posts. So a content widget showing most popular posts works great. If you have a self hosted wordpress blog like mine. Then you should definitely check out the Jetpack Post Views widget. Although not very customizable. It does get the job done quick.

Jetpack Post Views Widget
Jetpack Post Views Widget
Live Jetpack Post Views Widget
Live Jetpack Post Views Widget

Alternatively, you can use the W4 Post List plugin that allows you to create a fully customizable look with some CSS. In my case I wanted to thumbnail to be larger!

One very important secret is in the using the

jetpack-post-views

meta key to sort your posts by view count! Wow, took me a while to find that one!

use the jetpack-post-views meta key to get them sorting nicely.
use the jetpack-post-views meta key to get them sorting nicely.

Then its just a matter of inserting the widget

W4 Post List - Widget
W4 Post List – Widget

And Voila! Looks a lot nicer and you can make it look like whatever you want.

Live Widget Using W4 Post List
Live Widget Using W4 Post List

Loading