- Login blogger
- Layout --> Add gadget --> HTML Script
- insert this script
<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>
<ul><li><script src="http://YOURBLOGNAME.blogspot.com/feeds/posts/default?alt=json-in-script&callback=numberOfPosts"></script></li>
<li><script src="http://YOURBLOGNAME.blogspot.com/feeds/comments/default?alt=json-in-script&callback=numberOfComments"></script></li></ul>
<noscript><a href="http://YOURBLOGNAME.blogspot.com" target="_blank">Blogger Hacks</a></noscript>
Just change the YOURBLOGNAME into your blog name address.
Simple to see and helpful. I did a little research on the topic and found that most people agree with your blog. Thanks for sharing this fabulous stuff.
ReplyDeleteProjector Mount