• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Tips and Tricks HQ

  • Home
  • Projects
    • All Projects
    • Simple WP Shopping Cart
    • WP Express Checkout Plugin
    • Accept Stripe Payments
    • WP Download Monitor
    • Easy HTTPS Redirection
    • WP Security and Firewall Plugin
    • WP eStore Plugin
    • WP Affiliate Platform
    • WP eMember
  • Products
    • All Products
    • Checkout
  • Support
    • Support Portal
    • Customer Only Forum
    • WP eStore Documentation
    • WP Affiliate Software Documentation
    • WP eMember Documentation
  • Contact

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

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

Last updated: May 29, 2013





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(‘https://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.

Related Posts

  • List of the Best and Must Use WordPress Plugins
  • WordPress Simple PayPal Shopping Cart Plugin
  • WordPress Plugin for Simple Google Adsense Insertion/Integration
  • WordPress eStore Plugin – Complete Solution to Sell Digital Products from Your WordPress Blog Securely

Wordpress Plugin plugin,  Statistics,  widget,  Wordpress Plugin

Reader Interactions

Comments (96 responses)

  1. Shaun Dennis says:
    September 5, 2012 at 3:24 pm

    An awesome widget that keeps me satisfied

  2. Usman says:
    April 25, 2012 at 7:59 am

    Well I would say awesome widget.

  3. jenny says:
    December 6, 2011 at 6:19 pm

    outstanding widget

  4. rumah says:
    November 18, 2011 at 12:45 pm

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

  5. Nadeem Khan says:
    October 24, 2011 at 11:07 am

    Awesome widget !

  6. Daya says:
    October 11, 2011 at 5:04 pm

    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:
    October 9, 2011 at 10:24 pm

    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:
    October 9, 2011 at 8:22 pm

    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:
    September 27, 2011 at 12:32 am

    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:
    September 23, 2011 at 1:44 am

    Thanks, I will check this out.

  11. digital @ ejercicios para adelgazar says:
    September 6, 2011 at 11:06 am

    Great plugin. I installed it now.
    Thanks!

  12. Ayesh says:
    September 3, 2011 at 11:12 pm

    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. Mohammad Akif says:
    August 27, 2011 at 11:15 am

    Im using this one and its perfect!

  14. Silvester says:
    August 24, 2011 at 2:56 am

    thank you Rahul for this plugin its now workin fine

  15. Jay says:
    August 23, 2011 at 4:50 pm

    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:
    August 7, 2011 at 3:26 pm

    hey ive used this one truly workd great

  17. Houston SEO says:
    July 16, 2011 at 4:23 am

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

  18. Akif says:
    June 25, 2011 at 9:41 am

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

  19. Oronno says:
    June 4, 2011 at 10:46 pm

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

  20. Rohfun says:
    May 18, 2011 at 12:43 am

    nice plugins

  21. Martin says:
    May 13, 2011 at 10:18 pm

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

  22. Aliza Shehpati says:
    April 13, 2011 at 5:34 pm

    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:
    March 11, 2011 at 7:24 am

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

  24. Kamal Hasa says:
    February 12, 2011 at 12:04 pm

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

  25. Sotiris Bassakaropoulos says:
    January 7, 2011 at 9:13 am

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

  26. Megan says:
    January 4, 2011 at 8:35 pm

    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:
    January 3, 2011 at 11:32 am

    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:
    November 25, 2010 at 8:22 am

    great post thanks

  29. Balaji says:
    October 14, 2010 at 11:18 pm

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

  30. Zebhi says:
    October 11, 2010 at 9:00 pm

    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:
    September 19, 2010 at 5:51 am

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

  32. divilinux says:
    September 18, 2010 at 7:03 pm

    Thanks a lot.
    😉

  33. admin says:
    September 12, 2010 at 3:21 am

    @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:
    September 10, 2010 at 3:52 pm

    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:
    August 21, 2010 at 11:50 pm

    Hi Icechen, Yes this is compatible with WP 3.0.1.

  36. Icechen1 says:
    August 21, 2010 at 4:05 pm

    Is it compatible with WP 3.01?

  37. mrwindowsx says:
    June 11, 2010 at 6:36 pm

    nice pluign, thats wonderfull.

  38. admin says:
    June 3, 2010 at 5:04 am

    I will add the twitter and facebook ones later.

  39. NoteInBook says:
    June 2, 2010 at 10:40 am

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

  40. Bit Doze says:
    May 12, 2010 at 4:45 am

    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:
    April 17, 2010 at 9:46 pm

    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:
    April 17, 2010 at 12:58 am

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

  43. TheFourEyes says:
    April 17, 2010 at 12:30 am

    [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:
    April 10, 2010 at 3:33 am

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

  45. TheFourEyes says:
    April 10, 2010 at 2:32 am

    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:
    April 1, 2010 at 2:13 am

    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.. 🙂

« Older Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Featured & Popular Articles

Video Answers to Top WordPress QuestionsWordPress Optimization Tips and Tricks for Better Performance and SpeedEssential WordPress Security Tips - Is Your Blog Protected?WordPress Simple PayPal Shopping Cart PluginTop 15 Search Engine Optimization (SEO) Techniques I Forget to DoList of the Best and Must Use WordPress PluginsHow do I Start a Blog and Make Money Online?Good Domain Name Picking Tips for Your Blog SetupFind Out Which WordPress Web Hosting Company Offers the Cheapest and Reliable Web Hosting Solution

Featured WordPress Plugins

WP Express Checkout Plugin
wordpress estore plugin
wordpress membership plugin
wordpress affiliate plugin

Recent Posts

  • How to Use Browser Developer Tools to Inspect Elements and [...]
  • Accept Donations via PayPal from Your WordPress Site Easil [...]
  • Buy Now Button Graphics for eCommerce Websites [...]
  • Subscription Button Graphics for eCommerce Websites [...]
  • Adding PayPal Payment Buttons to Your WordPress Sidebar Ea [...]

Comment & Socialize

  • @Rob, We have just released ...
    - admin
  • I installed the plugin a co ...
    - Rob
  • @Sebastian, We've released ...
    - admin
  • I've used this plugin on a ...
    - Sebastian Djupsjöbacka
  • @John, this plugin doesn't ...
    - admin

Check out our solutions

View our WordPress plugin collection and start using them on your site.

Our WordPress Solutions

Footer

Company

  • About
  • Privacy Policy
  • Terms and Conditions
  • Affiliate Login

Top WordPress Plugins

  • Simple Shopping Cart
  • PayPal Donations
  • WP Express Checkout
  • WP eStore
  • WP eMember

Blogging Tips

  • How to Start a Blog
  • Selecting a Good Domain
  • Cheap WP Hosting
  • WP Video Tutorials
  • Simple SEO Tips

Search


Keep In Touch

Copyright © 2025 | Tips and Tricks HQ