17 Responses to “WordPress – Most Viewed – Sidebar Widget”
This page contains comments from the WordPress – Most Viewed – Sidebar Widget article.
This page contains comments from the WordPress – Most Viewed – Sidebar Widget article.

Stephen Cronin is Manager of Online Service Delivery at a Queensland Government department & has been a freelance WordPress developer/consultant since 2007
*Content on this site is my own and is not related to my employer
Hire me - I'm expensive, but I'm very good!
Want a Custom WordPress plugin? See my Services page.
Visit my home page at Userscripts.org.
I was just looking at the widgets on WordPress. They provide a dismal selection. This one really intrigues me, and I think I’ll give it a try.
Nice widget, something I use on almost all of my blogs.
This is the first time I have seen a website that keeps track of how many times a page has been viewed. This could be beneficial but I think would have to be implemented at the right time for newer sites.
Motorola, I like to know how many views a page gets, but when my blog was new, the numbers were embarassingly small. There’s still a lot of room for improvement!
“I use WordPress Widgets and there is no widget for the plugin.”
That’s false! You don’t need ExecPHP. There is a widget for this plugin, that makes it a lot easier than you describe it here. Have a look:
http://blogorama.eisbrecher.net/service/plugins/
I use this Most Viewed widget + plugin in all my six blogs!
Rudi, yes, there is now a widget built into the plugin. I use it too. You no longer need to use ExecPHP to create one.
When I wrote this post, I was still using a version without the widget. I believe the widgetized version was released about the same time I wrote this post, making my post immediately redundant.
Thanks for bringing this to my attention – I’ll add a note to the top of the post to explain this.
I use Popularity Contest also. The problem I have with Pop Contest is that I don’t want the percentages showed across all posts. Thanks for the plugin. I have been i n search of one of these function that will work best for me and I’m gonna give this one a try. Thanks again!
All these plugins are useless if one uses a cache such as 1BlogCacher or WP-Super-Cache. For views counting, it is therefore better to have some kind of an external Javascript that loads separately from the (static cached) page.
Hi Erik,
I think the latest version of WP-PostViews counts the page views using AJAX, so it works fine with the cache plugins. If the latest one hasn’t been updated, there is definitely a hacked version out there somewhere which does this, and a commitment from Lester Chan to add this to the original..
I have been using Popularity Contest for a while now but the formula it uses is far more complicated than this. Most viewed is a simpler solution would give a better indication of what is getting looked at.
Hi,
I’ve installed it and its working well…
BUT is there a way where I can choose the time range? I want it to detect ALL POSTS (from the FIRST day of my blog) instead of starting from the day I installed the widget….
is there a way where I can choose the time range? I want the widget to detect ALL POSTS (from the FIRST day of my blog) instead of starting from the day I installed the widget….
Hi Angeline,
Unfortunately, no… The plugin counts the page views – before you installed the plugin, these were not counted at all, so there’s no information for the widget to us…
This is really awesome to use if you want to code some of your custom stuff into the sidebar. I use this to hide ads on my “money pages”.
Hi,
what do i need to do, if i only want to get most viewd in 2008 or in last 30 days?
Thanks
Presently I am using Popularity Contest in my blog, but as someone mentioned in a prior post, it has a complicated formula.
I would be interested in using this plug in, but I wonder when would be the right time to add it to a new site.
Thank you very much for the great info!
This is all I wanted to have something like Webalizer working live at WordPress
Awesome!!!