Add Blogger statistics Widget

[postlink]https://iamdaowner.blogspot.com/2012/07/add-blogger-statistics-widget.html[/postlink]
Add Blogger statistics Widget to your Blog It show Total Posts & Comments


Follow the Simple Steps for add Widget:

1 Go To the blogger.com >>> Design >>> Page Element >> HTML/JavaScript paste the below the code in HTML/JavaScript new window box




<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:facetweetbook.blogspot.com /feeds/posts/default?alt=json-in-script&callback=numberOfPosts"></script>
<script src="http:facetweetbook.blogspot.com/feeds/comments/default?alt=json-in-script&callback=numberOfComments"></script></font>




Now Save your widget .... Now your Done :) For Demo Click Here


Widget Customization!


Replace http:facetweetbook.blogspot.com/ with your own blog URL. You can change the Posts: andComments: text to whatever you like for example you can replace Comments: with Total No. of Comments:.

0 comments:

Post a Comment

Grab the widget  IWeb Gator
Powered by Blogger.

Click the Like Button Below To Receive all updates via Facebook

Powered By Blogger Tricks |

Popular Posts