Daily Top 10 Posts Version 0.7 and Wordcamp Philippines
$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.
6 archived comments
Comments are preserved from the original blog and are now closed.
- ChiQ
"to come up with schwags that’ll blow your socks off" .. wow, i love u work.. lookin forward to ur creationzzz :D hehe.
- Blogie
Aha! At long last, an update to the plugin! ;) Will be in touch soon re WCP schwags.
- Blogie
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. :D
- Jeff
Is there a way to exclude page views completely in the widget?
- JXL50
Does anyone have help with this one? ,
- Justin
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'; Thank you.