A few days ago, I wrote a guest post on Pro Blog Design about creating a Stats page for your WordPress blog. One day later, Kyle, who liked the article, wrote a post here on WP Hacks to let you know about my guest post.  One of WP Hacks readers, Wesley, enjoyed the post and decided to create a WordPress plugin to enhance the functionality of my initial hacks.

The plugin, entitled “Blog Stats” makes available a number of statistics about your blog, including number of posts, comments, trackbacks, users and categories, PageRank, Alexa rank, Technorati rank and Feedburner RSS count.  To ensure you always have the most up to date values, the plugin automatically update statistics on a daily basis.

How to Install and use the Blog Stats WordPress Plugin

First, you have to download the plugin on Wesley’s website or on the WordPress.org page.

Once you have it, unzip it on your hard drive and upload the plugin file to the wp-content/plugins directory of your WordPress blog.

Login to your WordPress dashboard, go to the Plugins page and activate Blog Stats.

You now have a bunch of new shortcodes that you can use in pages and posts. If you don’t know what a shortcode is or want more info about it, I wrote some shortcodes-related posts on WP Recipes.

Ready to use Template

Feel lazy? After you installed the plugin, just create a new page and paste the following code in it. It will output all stats available from the Blog Stats plugin.

user_count: [user_count]
post_count: [post_count]
page_count: [page_count]
comment_count: [comment_count]
trackback_count: [trackback_count]
avg_comments_per_post: [avg_comments_per_post]
category_count: [category_count]
tag_count: [tag_count]
link_count: [link_count]
pagerank: [pagerank]
technorati_authority: [technorati_authority]
technorati_rank: [technorati_rank]
alexa_rank: [alexa_rank]
feedburner_subscribers: [feedburner_subscribers]
google_backlinks: [google_backlinks]
yahoo_backlinks: [yahoo_backlinks]
delicious_bookmarks: [delicious_bookmarks]

That’s all. I must say that I like this plugin a lot and Wesley really did a nice job!

Want automatic updates? Subscribe to our RSS feed or
Get Email Updates sent directly to your inbox!
Digg This | Stumble it | Add to Del.icio.us | | Print This

There Are 8 Responses So Far. »

  1. 1 Wesley
    Monday, January 12th, 2009 at 4:18 am

    Thanks for the article, I’m glad you liked it :)

    I’l be updating the plugin with quantcast and compete ranking, as well as more error reporting later this week.

  2. 2 Kurt Avish
    Monday, January 12th, 2009 at 8:34 am

    Great plugin indeed. Got it from wesley blog some days ago and already using it. Good piece of work :-)

  3. 3 Dev
    Monday, January 12th, 2009 at 12:10 pm

    it such a great plugin.Nice post about it. I’ll try to install this plugin in my blog. Thank you.

  4. 4 Jean-Baptiste Jung
    Monday, January 12th, 2009 at 1:13 pm

    @Wesley: You did a nice job, so I’m happy to write about it :)

  5. 5 Deca
    Thursday, January 15th, 2009 at 4:46 am

    I prefer to use cystats

  6. 6 Teknolohiya
    Friday, January 16th, 2009 at 8:12 am

    Great plugin. I must have a new page now in my blog for this awesome plugin. Nice share.

    -Hussein

  7. 7 Atniz
    Friday, January 16th, 2009 at 11:23 am

    This looks good to me. I’ve just installed a few plugins today. Have bookmarked it and will update my plugin again soon.

  8. 8 Anuj Seth
    Monday, February 16th, 2009 at 9:49 am

    Awesome plugin!

    Can this be enhanced to display Twitter Followers, and Compete Rank?



Leave A Comment