Two numbers: 14.000 and 18.000

I just added a piece of code to the archives page of K2, which shows you some basic statistics of your site (I stole them from the dashboard, though I moved some stuff around to make it a bit easier for n00bs to understand). If you go to my archives page, it should show you something along the lines of this:

Currently the archives are spanning 1,451 posts and 13,939, contained within the meager confines of 28 categories.

Holy crap! Almost 14.000 comments! Where did they come from? Who put them here? Anyway, what’s even more interesting and not a small bit schadenfreude-inducing is the fact that my comment ID’s, that is the unique ID given to each comment in the database, is almost up to 19.000.

What does that mean then? It means thousands and thousands of spam comments and trackbacks have trickled off of the Bonsai, and to my knowledge not a single one is currently present (and not neutered I might add) in the archives. Take that you spammers, you!

12 Responses to “Two numbers: 14.000 and 18.000”


  1. 1 David

    so if we want to add this to our k2, could we not just change the archive page instead of a complete upgrade?

  2. 2 Weiran

    Isn’t it supposed to say:

    Currently the archives are spanning 1,451 posts and 13,939 comments

    instead of:

    Currently the archives are spanning 1,451 posts and 13,939

  3. 3 Myles Braithwaite

    Great Idea! This is why you are the master of Wordpress Design.

  4. 4 Morten Brunbjerg

    Impressive! Most impressive. :) That’s a great idea. And it’s really quite good for the moral and motivation to see the numbers presented like that if you ask me. :)

  5. 5 Scott

    Hehe. I like how your biggest and boldest tag is spam.

  6. 6 Mat

    I did the same thing with Incoming Links in the Dashboard…

  7. 7 Michael

    Scott, I just switched tag plugin, so I only have a select few tags in there at the moment :)

  8. 8 Weiran

    Maybe something for the options panel, let us write our own filler text for the archives page and put the figures inside it?

  9. 9 Chris J. Davis

    You are welcome for that code you stole. Glad I could help :)

  10. 10 Jeff

    I don’t believe you can ‘span’ 1451 posts and however many comments. Neither is a beginning point, and to span, one usually requires two ends (spanning 2001 to 2004, etc.)

  11. 11 Chris J. Davis

    My comment ID’s are at 50,814 as of today, and I only have 2,750 comments in the DB… makes me feel depressed just thinking about it.

    I have had 46,000+ pieces of spam hit my DB in the last two years.

  12. 12 Michael

    Weiran, it’s not out of the question, though integrating the numbers into your own text makes it a bit harder. We’ll keep it in mind.

    Thanks for the code Chris ;)

    Jeff, Hm. I’m Danish, English is my second language, so I’ll trust you on that one :)

    And holy moly Chris, what the deuce? 46.000+!?

Comments are currently closed.