7. How to Display the Most Viewed Posts in WordPress

I talked about this once before, I use the Lester Chan plugin WP-PostViews to display my 10 most viewed posts (with counts) in the sidebar, and also to display my top 25 posts on my Archived Posts Sitemap. This is the same plugin I use to display the number of views next to the heading title on each post, and page within this site. Under the Usage Tab of WP-PostViews you’ll find some code for “most viewed posts” as well as “most viewed posts for a category” which is very handy. The nice thing about this plugin as well is that when you download it, you get two versions. Once that you can place the code wherever you want to see post counts, and another which is a widget you can just drag and configure in your sidebar. Sometimes I wish all plugins had a “widget”.