I’m going to show you some tips, it might help you improve your blog and attract your visitors. This is a tip that useful check it out as below;
It’ll show on your blog like this;
Total Posts: 515
Total Comments: 4,000
Total Posts: 515
Total Comments: 4,000
Follow these steps;
1. Go to Layout ---à Page Element ---à Add Gadget
2. Choose Html/JavaScript then click add
3. Copy code below and paste 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://YourDomain.com/feeds/posts/default?alt=json-in-script&callback=numberOfPosts"></script>
<script src="http://YourDomain.com/feeds/comments/default?alt=json-in-script&callback=numberOfComments"></script></font>
4. Don’t forget to replace YourDomain.com with your link
5. Save it
Any questions, please do not hesitate to leave a comment as below.
If you like this post, you can subscribe to keep up to date daily via e-mail Subscribe Now