I wrote the Popularity Contest plugin for WordPress back in May of 2005. It had a good run, but that run is over. We are no longer developing or supporting Popularity Contest, and I recommend letting it rest peacefully.
Why? It does too much, and too little at the same time.
It does too much. Popularity Contest tracks each page load. In order to make this compatible with caching plugins, this functionality was abstracted to be done via a second AJAX call (or tracker image in feeds) that bypasses your site’s caching system.
In other words, with Popularity Contest enabled and a caching plugin installed, each visit to one of your pages still generates an additional dynamic page load request to your server. This is how it has to work, but it’s too much for most commodity hosting environments.
It does too little. While Popularity Contest is tracking each page load and updating aggregate numbers relating to your site’s activity, there is a significant diminishing of returns as you use the plugin over time.
There is no granular data tracked, meaning you cannot plot trends or view popularity in specific time slices. In fact, what I saw on this site was that the most popular posts became simply a list of what ranks highest for popular searches in Google.
With all of the free and low-cost analytics solutions out there, you’re better off using a service to get this sort of information rather than doing it yourself. I’d recommend Google Analytics, WP.com stats or more advanced solutions like KISSmetrics, Reinvigorate, etc.
While I don’t recommend reviving Popularity Contest for the reasons listed above, but if you’re interested in forking or looking at the code you are welcome to do so. I pulled a copy of the code from the WP.og SVN repository and put it up on GitHub. The wp30 branch probably works with the latest version of WordPress with few needed revisions.
This post is part of the thread: Content Presentation – an ongoing story on this site. View the thread timeline for more context on this post.
This post is part of the project: Popularity Contest. View the project timeline for more context on this post.
Alex King: Popularity Contest is Dead (and on GitHub): I wrote the Popularity Contest plugin for WordPress back … http://t.co/G61ffy7j
New on @alexkingorg: Popularity Contest is Dead (and on GitHub) http://t.co/GOWSWDAv
Very sad to see Popularity Contest go. It was one of the best popular post plugins available, with the available functions that made it easy to customize within the templates, and how easy it was to see popular posts for a given month.
Hope you will reconsider making a newer, better version, in the future.
Probably not, it really causes harm (performance) to many sites that use it, and “fixing” the functional problems would actually make that worse. I strongly recommend against using it or anything that tries to do something similar. The right way to architect this is to have a completely separate server/service doing the logging and data processing – oh look, that’s what an Analytics service does. 🙂
People are better off learning how to use the advanced features of their Analytics and informing those services about WordPress’s meta data.
Actually, I could see reviving Popularity Contest as a plugin that did that.
I understand why you dropped it, but it’s a shame to see it go. We use Popularity Contest to show the most popular items in a given topic, like so:
http://www.dutchamst[...]-see/museums
I had hoped that a newer version would allow us to exclude certain posts. Is there an easy hack to do that?
We tried other popularity solutions, but most of them either slowed the site too much or relied on the number of comments each article receives — whereas we don’t use comments.
[…] previously noted Popularity Contest had a good run but is no longer recommended. As such, I’ve gone ahead and […]
I’ve used Popularity Contest on many WordPress installs in the past and would just like to thank you for all the time and hard work you put into it. Your reasoning for ending it makes sense, but it’s still a bit sad. Thanks, again.
One of my favourite WordPress plugins EOL’s. Goodbye Popularity Contest – great work Alex King. http://t.co/u4yCJ4Ya
[…] reasons Popularity Contest had to die are outlined here. I also wanted to end it’s life in such a way that people weren’t left in the dark […]
So, how that Popularity Contest is going away, what’s the best alternative for displaying Popular Posts on my WordPress/Thesis blog?
That depends entirely on what your definition of “popular” is.
Thanks for the good run.