This tutorial assumes that you already know how to install plugins.

There are other ways to obtain the same result, but I’m providing step-by-step instructions according to how I’ve done it in this blog:

  1. Download the Popularity Contest plugin by Alex King;
  2. Edit the file popularity-contest.php:
  3. On line 39 (@define('AKPC_SHOWPOP', 1);), change it to 0 to not show each post’s popularity with the post content;
  4. On line 49 (@define('AKPC_SHOWHELP', 1);), change it to 0 as well to not show the little [?] that links to the explanation of what the popularity means;
  5. Install the Popularity Contest plugin;
  6. Popularity values can be changed in the Popularity Contest Options (Options>Popularity);
  7. Install the JAW Popular Posts Widget plugin by Thomas Watson Steen;
  8. Drag and drop the widget called “Popular Posts” to the desired sidebar (Presentation>Widgets);
  9. The title and the number of posts you would like to display can be edited in the widget options;
  10. Your blog is now displaying the most popular posts in the sidebar!

This is definitely a great way to expose your blog’s best content to your visitors, making them stay longer and getting more page views. (;

Want to read more WordPress tutorials?

6 Responses to “Displaying the Most Popular Posts in the Sidebar”

  1. I tried Alex King’s plugin for a while but I was not satisfied with it. Instead I use WordPress Report plugin from Tan Tan Toolkit which includes an added bonus of a Top Post plugin that can be used as a widget to display on the side bar featuring the most recent popular posts on your site based on Google Analytics traffic report.

  2. Hey Mark,
    thank you for sharing your experience and providing another way to display the most popular posts in the sidebar.

  3. [...] Displaying the Most Popular Posts in the Sidebar - WP Themes Gallery - This is a great site for you WordPress junkies out there. I’m one too. As for this post, I was recently told that I should include a most popular post widget on the side bar. Well, this post told me how to do so. So I’m very thankful. This, of course as the name implies, is also a great place to find WordPress themes that are reviewed and explained. [...]

  4. [...] few weeks ago, I’ve showed how to display the most popular posts in the sidebar. Another way of getting more interested readers and pageviews is to display related posts in single [...]

  5. [...] de mest populære postene uten å få noen til å fungere optimalt. Det mest brukte innstikket, Popularity Contest, har ikke blitt oppdatert parallelt med WP-oppgraderingene og ingen av tipsene eller de modifiserte [...]

  6. Have to give it a try. Having trouble with my Firestats which comes in with the sidebar plugin for most popular posts. Thanks for sharing.

Leave a Reply