Displaying the Most Popular Posts in the Sidebar

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?

About Artur Kim

Artur is the founder of WP Themes Gallery and a web designer living in Atlanta, GA.
This entry was posted in WordPress Tutorials. Bookmark the permalink.

9 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. Artur Kim says:

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

  3. Pingback: The Daily Read - 01/15/2008 | Saphrym

  4. Pingback: Displaying Related Posts in Single Posts | WP Themes Gallery

  5. Pingback: Hahaha, den virker! | Ka skjer?

  6. moserw says:

    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.

  7. Zlatomir says:

    It works! tnanks alot ;)

  8. anahtarcı says:

    i think some themes give this chance – and a small code is needed – and does it change from theme to theme ? or same for ever theme ?
    should be tried. thanks

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>