Blogger Templates for your blogspot Blog, Adsense Blogger template, Making Money Online With Tips Tricks

How to show total posts and total comments on your blog? interested to know? now i'm going to show you how can we add it. Follow the simple way below to add it.

Step 1
Login to your blog >> Layout >> Page Element >> Add Gadget >> HTML / JavaScript

Step 2
Copy and paste code below there.

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


Step 4

Replace http://adsense-day.blogspot.com/ with your own blog URL.

Step 5
Don't forget to save it and done.

2 Responses to "Total Posts And Comments widgets For Blogger blog"

  1. Dollarsites.blogspot.com Says:

    Nice widget to have on a blog. i need the widget that show the highest commentator on blogger

  2. free meta tag generator Says:

    Good post. I am bookmarking your blog.. This free meta tag generator tools provides the easy way of generating title and meta tags for seo onpage optimization. free meta tag generator

Leave a Reply