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!
Tweet This | Digg This | Stumble it | Add to Del.icio.us | | Print This

Jean-Baptiste Jung

Jean-Baptiste Jung is a 27 years old blogger/web developper/web designer who lives in the French-Speaking part of Belgium. Jean-Baptiste maintains two blogs: Cats Who Code where he and other authors write about Web Development, Web design, Blogging tips and WordPress, and WpRecipes where Jean shares useful WordPress snippets on a daily basis. When he's not blogging or having fun with codes, Jean loves to spend time with his wife and cat, and travelling everywhere he can.

There Are 8 Responses So Far »

  1. Wesley says:

    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. Kurt Avish says:

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

  3. Dev says:

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

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

  5. Deca says:

    I prefer to use cystats

  6. Teknolohiya says:

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

    -Hussein

  7. Atniz says:

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

  8. Anuj Seth says:

    Awesome plugin!

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

Leave a Reply