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!



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.
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
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.
Monday, January 12th, 2009 at 1:13 pm
@Wesley: You did a nice job, so I’m happy to write about it
Thursday, January 15th, 2009 at 4:46 am
I prefer to use cystats
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
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.
Monday, February 16th, 2009 at 9:49 am
Awesome plugin!
Can this be enhanced to display Twitter Followers, and Compete Rank?
Leave A Comment
Become one of our
Featured Sites
Recent Trackbacks
Contributing Authors
Archives
Extras
WordPress Hacks Copyright © 2007-2009 | An Apricot Media Website
Template by StudioPress | Custom Design by Kyle Eslick and Blog Design Studio
RSS Feed Email RSS