Liked

Thursday, 16 August 2012

Pin It

Total Post With Total Comments Widget : Blogger


It is pretty cool to show total number of post with the total number of comments at your blog's sidebar. Readers can judge blog by this widget that how rich the blog in comments and post. It is very useful in case you received comments on the post that you publish earlier and now are not on the Main Page of your Blog. Suppose that you have 5 recent post on your home page, if someone give comment on these post you can easily find out, but if you received comments on the previous post that are not home page, it is In this Post find out how to add and customize the widget. It is very easy to add this widget at your blog. Follow some simple steps to add this widget script.


How to Add Recent Comment Widget at Your Blog 


1.  Go to Layout
2.  Page Elements.
3.  Click Add a Gadget link in your sidebar where you want to add this widget.
4.  When a new window is opened, chose HTML/JavaScript as your widget and add the given codes in the Content field.


<script style="text/javascript"> function numberOfPosts(json) { document.write('Posts: <b>' + json.feed.openSearch$totalResults.$t + '</b><br>'); } function numberOfComments(json) { document.write('Comments: <b>' + json.feed.openSearch$totalResults.$t + '</b><br>'); } </script> <font color="blue"><script src="http://masttips.blogspot.com/feeds/posts/default?alt=json-in-script&callback=numberOfPosts"></script> <script src="http://bloggerfaqs.blogspot.com/feeds/comments/default?alt=json-in-script&callback=numberOfComments"></script></font>

Save your widget and see the blog.

Widget Customization

Replace 
http://masttips.blogspot.com  with your own blog URL. You can change the  Posts:  and  Comments:  text to whatever you like for example you can replace Comments: with Total No. of Comments or your precious suggestions etc.

:) I hope that you have found some useful information at this Blog. Any Question Please feel free to ask - Arvind Jangid
About Arvind Jangid
Arvind Jangid is the founder and editor of Mast Tips and Mast Blog Tips. He Shares the solutions on 'How To Series' & dedicated to share his blogging tips. Follow Him on Facebook or Twitter . See More About Him.

Liked My Post ?


Subscribe to our RSS Feed and We will let you know when we have new posts!
Or get the latest posts via Email
Thanks!

If You Found Something Useful, Then Kindly share This Now:
Technorati Digg This Stumble Stumble Facebook Twitter
साँझा करें Share It Now !
StumpleUpon DiggIt! Del.icio.us Blinklist Yahoo Furl Technorati Simpy Spurl Reddit Google Twitter FaceBook

1 comments:

  1. Hi! I simply would like to offer you a big thumbs up for your great info you
    have got here on this post. I am returning to your site for more soon.
    website design

    ReplyDelete

Your Suggestions are valuable for me.

Related Posts Plugin for WordPress, Blogger...

FeedBurner Updates

 

Thanks for Your Arrival !

Recent Comments

Followers

Recent Comments

Your Precious Arrival

free counters

© 2011-2012. MTS-Mast Tips n Tricks All Rights Reserved Arvind Jangid, Sikar, Rajasthan, Ph. +919413159634 . Template by Mast Blog Tips | Back To Top |