How To Show Your Live Stat (Blogger)

Posted by eJoee On 1:17 PM

This post i will show you some tips,and it might improve you blog and attract you visitor..
that useful check it out as below;
It’ll show on your blog like this;

Total Posts: 100
Total Comments: 400

Follow The Step In Below :

  1. Login into Blogger >> go to Layout >> page element and Add Gadget.
  2. Choose the HTML/Script
  3. Copy and paste code in below :
<script style="text/javascript">
function numberOfPosts(json) {
document.write('Total Posts: <b>' + json.feed.openSearch$totalResults.$t + '</b><br>');
}
function numberOfComments(json) {
document.write('Total Comments: <b>' + json.feed.openSearch$totalResults.$t + '</b><br>');
}
</script>
<font color="black"><script src="http://YOURDOMAIN.blogspot.com/feeds/posts/default?alt=json-in-script&callback=numberOfPosts"></script>
<script src="http://YOURDOMAIN.blogspot.com/feeds/comments/default?alt=json-in-script&callback=numberOfComments"></script></font>

4. Change (YOURDOMAIN) with your domain name,and Save.

    Subscribe Via Feed
    Subscribe Via Email
Subscribe And Get Daily Update.

Related Posts :



0 Response to "How To Show Your Live Stat (Blogger)"

Post a Comment

    Get Update :

    Get New Tips Delivered in Your Inbox!


    Translate To Your Language:


    Arabic Korean Japanese Chinese Simplified Russian Portuguese
     English French German Spain Italian Dutch