How To Installing Total Post And Comment In Blog

Written by : Unknown | 12:10:00 PM | 0

♥ ASSALAMUALAIKUM ♥


Today I want to share how to install a number of posts and number of comments on your blog. It is a widget that is simple and very suitable to be tried by the new bloggers."Quite how many people already commented in my blog?" "My post entries are more likely enough?"..

Some bloggers will be asking questions like this, so to simplify you see the posts or comments on the blog so far ,is a way to install the widget number of posts and number of comments on your blog.Because it automatically will be appear on your blog.

totalpostandcomment
See Example rounded with the color pink

1. Login to Blogspot.

2. Select Layout - Page Elements.

3. Select Add a Gadget - HTML / Javascript.

4. Then, copy the code below into it.

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

 5. Save …Done!!

Note : Change the address of the blog that are purple with your own blog address.

Good luck...!!!
Sharing The Love :)

Leave A Comment , Thank you! 😍

Note : All comments are moderated manually by real humans, so you won't see them appearing immediately.

For Non-Bloggers
Please select profile & click "Name/URL" If you do not have any profiles on any those listed. (Leave the URL empty).

It's harsh to call you Anonymous , So please Leave at least a Name.