WordPress Blog Vitals Plugin – Show Your Blog’s Vital Statistics to Your Visitors

wordpress_blog_vitals_128

Simple WordPress Stats Plugin to show various vital blog statistics to your visitors. Currently it can be used to show off the following stats of you WordPress site:

  • Google Page Rank
  • Alexa rank
  • Technorati rank
  • Feedburner Feed Count
  • Twitter follower count
  • Google plus one count
  • Number of Blog Posts
  • Comments
  • Trackbacks/Pingbacks

If you don’t want the hassle of updating your “Advertise Here” page of your blog every few days with the important statistics then this plugin will come in handy.

You can also show the stats widget on your sidebar.

download_icon

Blog Stats Plugin Screenshot

The plugin will show a widget/badge similar to the following:

wordpress blog vitals widget screenshot

Blog Stats Plugin Installation

  1. Unzip and Upload the folder ‘wordpress-blog-vitals’ to the ‘/wp-content/plugins/’ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Settings and configure the options eg. which stats you want to show off, caching time etc.
  4. Use the widget, trigger text or call the php function to show the stats.

Blog Stats Plugin Usage

There are three ways you can use this plugin:

1. Add the following shortcode to a post or page to show the stats

[wp_blog_vitals]

2. Use the following function from a template (.php) file
blog_vitals_php_function

3. Use the ‘WP Blog Vitals’ widget from the widgets menu

Blog Stats Plugin Settings

Here is a screenshot of the settings menu showing you what you can configure.

wordpress blog stats plugin settings

Additional Documentation

The following php functions can be used to display/retrieve specific stats:

  • <?php echo vitals_getpagerank(URL); ?> – Displays the Google page rank of the URL specified.
  • <?php echo vitals_get_cached_alexa_rank(URL); ?> – Displays the Alexa rank of the URL specified.
  • <?php echo vitals_get_cached_technorati_rank(URL); ?> – Displays the Technorati rank of the URL specified.
  • <?php echo vitals_get_cached_post_count(); ?> – Displays the total number of blog posts.
  • <?php echo vitals_get_cached_comments_count(); ?> – Displays the total number of blog comments.
  • <?php echo vitals_get_cached_pingbacks_count(); ?> – Displays the total number of trackbacks.
  • <?php echo vitals_get_cached_twitter_count(“twitter_username”); ?> – Displays the total number of Twitter follower count.

Replace ‘URL’ with the actual URL of the site. For example, to show the Alexa Rank of tips and tricks HQ site I would use the following code in my .php (template) files:

<?php echo vitals_get_cached_alexa_rank(‘http://www.tipsandtricks-hq.com’); ?>

The cached version of the function is used rather than the live one to improve page load time.

Getting Google API Key

You can retrieve your Google API key from the Google API console of your Google account. Enable the google plus API from the “services” menu. The API key can be found under the “API Access” menu.

Donation Option

Donation option can be found on my projects page.

Download Latest Version (v1.8)

Download the WordPress Blog Vitals plugin.

I will be updating this plugin over the next few months and add more stats and other options. Feel free to leave your suggestions in the comment area below and don’t forget to subscribe to stay upto date.

Checkout the list of best WordPress plugins to find out what other plugins you should be using.

Comments (99 responses)

  1. Shaun Dennis says:

    An awesome widget that keeps me satisfied

  2. Usman says:

    Well I would say awesome widget.

  3. jenny says:

    outstanding widget

  4. rumah says:

    great widget, help us get report position our website, thanks guys

  5. Nadeem Khan says:

    Awesome widget !

  6. Daya says:

    Awesome! You guys Rock!!!

    Installed the new one, set my cache to 0 reloaded the page and had my PR back. Then reset it to 86400 seconds (1 day) and we are back in business! 🙂

    Thanks guys!

  7. admin says:

    We updated the plugin so it uses the new Google PR API. Please download v1.6 from this page and you should be fine (Just give it some time for the cache to expire though… this plugin caches the result to improve performance)

  8. Daya says:

    Using this, and loving it. Will there be an update that points the PR indicator to Google’s new pagerank server? I’m now showing everyone that I’m pr0 instead of pr3 and would like to fix it! 🙂

  9. janifer says:

    Thanks, cool plug-in.
    Nice to have all important SEO ranks will be shown on screen.
    I will try on my personal WP blog.

  10. robert says:

    Thanks, I will check this out.

  11. digital @ ejercicios para adelgazar says:

    Great plugin. I installed it now.
    Thanks!

  12. Ayesh says:

    This is awesome WordPress plugin, I am currently on blogger and very soon i will migrate to WordPress and than I will definitely install and try this blog vital plugin.

  13. Im using this one and its perfect!

  14. Silvester says:

    thank you Rahul for this plugin its now workin fine

  15. Jay says:

    Hello- I just sent you an email via your contact form, just letting you know in case it hits your spam folder! 🙂

    Really like the look of this plugin, and hope you can help us out.

    Thanks,
    Jay

  16. Frank says:

    hey ive used this one truly workd great

  17. Houston SEO says:

    I have tried this tool and its really great .Thanks for your advice,it really is impressive.

  18. Akif says:

    i was searching for premium plugins and i found this one. Looks like better then all those premium ones

  19. Oronno says:

    Thank You Ruhul Amin for this. Working great. You are a great man.

  20. Rohfun says:

    nice plugins

  21. Martin says:

    I was searching it on Google from last 2-3 months!!!

  22. Thanks for the awesome code. I was searching it on Google from last 2-3 months. You make my task easy, actually I’m using technorati and want to know the status of it on my blog. Thanks a lot for sharing with me.

  23. Melinda says:

    This should be great to show future advertisers about our statistic.

  24. Kamal Hasa says:

    Great plugin! I will be using it on all of my WordPress blogs..

  25. Love this plugin saves so much time having all the stats built into one plugin Thanks!

  26. Megan says:

    I’ve just put this on one of my sites to try, I think this is one of the better plugins of this kind. Thanks for the hard work you put into building it. 🙂

  27. John Gamings says:

    What a nifty plugin. I really wish I had discovered this sooner, it looks like I can really put it to great use

  28. Guy says:

    great post thanks

  29. Balaji says:

    Thanks for this great post – I will be sure to check out your blog more often ….

  30. Zebhi says:

    Blog Stats is the one of most important feature. We can know the development of our blog everyday, everyweek or everymonth.

    Thank’s for your sharing. I like this posting about Stats. 😀

  31. divilinux says:

    OK…all seem to work, except google rank.
    I’m shure that it will be fixed in the next version.
    Thanx

  32. divilinux says:

    Thanks a lot.
    😉

  33. admin says:

    @divlinux, I just updated the plugin. Please download v1.5 from this page and it should address the image not appearing issue.

  34. divilinux says:

    Hi all
    I’ve the same problem wrote by Ark’s both with wordpress version and tipsandtricks version.
    No image appears…Hot to fix it?
    Thanx

  35. Ivy says:

    Hi Icechen, Yes this is compatible with WP 3.0.1.

  36. Icechen1 says:

    Is it compatible with WP 3.01?

  37. mrwindowsx says:

    nice pluign, thats wonderfull.

  38. admin says:

    I will add the twitter and facebook ones later.

  39. NoteInBook says:

    whats about twitter follower and facebook fans, i just miss it on my page!

  40. Bit Doze says:

    This is a nice tool, I didn’t know about this until now I will give it a try to see how it’s works.

  41. admin says:

    The stats are cached for the time you have specified in the settings menu. Give it some time so it queries the next time and it will automatically fix itself.

  42. TheFourEyes says:

    Installed latest version… No luck… And now Alexa stats read zero.

  43. TheFourEyes says:

    [http://loscuatroojos.com/]
    In the sidebar towards the bottom… I’m downloading and reinstalling today… Hope it works… But please stop by and have a look. Thanks.

  44. admin says:

    Please post a link to the page where it’s happening so I can take a look.

  45. TheFourEyes says:

    Installed fine … But the numbers in the Alexa box are gray. Other numbers are not black either. How do I change them to be readable? Thanks for a nice plugin!

  46. aidicard says:

    another plugin that i’ll use for my blog… i hope it’ll work

    thanks a lot…

    *hmm.. i think i should subscribe to your blog…
    i like the topic.. 🙂

  47. elizer says:

    nice plugin.. i love this one.. thanks bro

  48. Darmawan says:

    Hi, thanks for the good stuff.

    please help me to active
    wp-blog-vitals/vitals-alexa-functions.php

Speak Your Mind

*