Your Ad Here

TOTAL COMMENTS AND POSTS COUNTER FOR YOUR BLOG

TOTAL COMMENTS COUNTER FOR YOUR BLOG



Go to Layout > Edit HTML > Add a Gadget > HTML/Javascript.
Then add the following code for the total comments counter .
Change the text written in red to your website's address



<script style="text/javascript"></script>
<script style="text/javascript">
function numberOfComments(json) {
document.write('Total Comments : <b>' + json.feed.openSearch
$totalResults.$t
+ '</b><br>');}</script>
<script src="http://yourblog.blogspot.com/feeds/comments/default?
alt=json-in-script&callback=numberOfComments"></script>




TOTAL POSTS COUNTER FOR YOUR BLOG

Go to Layout > Edit HTML > Add a Gadget > HTML/Javascript.
Then add the following code for the total comments counter .
Change the text written in red to your website's address


<script style="text/javascript">
function showpostcount(json) {
document.write('Total Posts : <b>' + parseInt(json.feed.open
Search$totalResults.$t,10) + '</b><br>');}</script>
<script src="http://yourblog.blogspot.com/feeds/posts/default?alt=
json-in-script&callback=showpostcount"></script>

Your Ad Here