The Daily Top 10 Posts WordPress plugin has been updated and fully tested on WordPress 2.8.
It’s not a major update, but I included a feature that many have been clamoring for — the ability to exclude certain posts or pages from tracking. You will need to edit the file manually. When I find the time you will be able to do this through the admin panel. For now, we’ll have to go manual. To exclude posts, open up the plugin file and edit the line (~99) that reads:
$EXCLUDE = "";
Between the double quotes, type the ID’s of posts you don’t want to track. You can figure out the ID’s by looking at Posts > Edit.
Your code should look something like this:
$EXCLUDE = "5,7,9,104,110,250";
Do this ONLY if you want to disable tracking on specific posts. Otherwise, leave the code as is. Disabled posts will stop registering hits and will cease to appear in all widgets.
I’m aware that some requested a feature to disable tracking on certain categories. That will be done in the next update. Give it a week or two.
To download the update, click here or automatically update in the plugins panel.
Wordcamp Philippines 2009 is indeed a go! It’s scheduled to happen on September 19, 2009 at the Asian Institute of Management (AIM). My role in the event may be cut down to size because of a month-long, out-of-the-country trip I’m taking in July. Despite that, I’m extremely excited about this and already working with the team to come up with schwags that’ll blow your socks off. If you care at all, I will be back in time for the event. 😛 See you there!
“to come up with schwags thatâ€™ll blow your socks off” .. wow, i love u work.. lookin forward to ur creationzzz 😀 hehe.
Aha! At long last, an update to the plugin! 😉
Will be in touch soon re WCP schwags.
Hey Drew, I’m loooking forward to having admin options for this nifty plugin. I’ve a few feature requests, if possible… (1) option to turn off # of views in the widgets; (2) option to truncate titles to desired length, for those who wish to not have wrapping titles. 😀
Is there a way to exclude page views completely in the widget?
Does anyone have help with this one? ,
Please consider adding an index on postnum on the wp_dailytopten table, such as:
KEY `postnum` (`postnum`)
Or via alter table:
alter table wp_dailytopten add index postnum (`postnum`);
This will keep queries like this from processing possibly thousands of records unnecessarily:
SELECT id, postnum, time, postcount FROM wp_dailytopten WHERE postnum = ‘22832’;