total posts and comments at your own blog


assalamualaikum .
hmmm , wondering how many posts and comments at your own blog ?i have the answer .you have to do some simple steps and boommmm , you will know how many posts and comments at your own blog , including your visitors @ followers .
  • sign in -> dashboard -> design -> page element -> add a gadget -> HTML/Javascript
  • copy this code ;
<center><script style="text/javascript">
function totalPosts(json) {
document.write('Total Posts: <b>' + json.feed.openSearch$totalResults.$t + '</b><br>');
}
function totalComments(json) {
document.write('Total Comments: <b>' + json.feed.openSearch$totalResults.$t + '</b><br>');
}
</script>
<script src=" /feeds/posts/default?alt=json-in-script&callback=totalPosts"></script>
<script src=" /feeds/comments/default?alt=json-in-script&callback=totalComments"></script></center>

  • save and finishhhhh .