Subscribe Us

How To Add Statistics Widget For Blogspot|ots

okio

How To Add Statistics Widget For Blogspot|ots
How To Add Statistics Widget For Blogspot
For Blogspot


Statistics Widget For Blogger



Learn here for Blogger  Blogspot user. Simple and easy method for add statistics widget  While surfing and visiting to different online journals we have seen that huge numbers of the bloggers utilize this measurements for their web journals. Some are likewise utilizing Total Words in posts and absolute quantities of the words in remarks. be that as it may, I am going to discuss just absolute No of posts and all out Number of comments. This Statistics Widget for Blogger indicating complete number of posts, total number of comments.


Blogger For Add Statistics Widget


Blogger follow these step by step to Install this widget

1.Go to blogger.

2. Log in to your Blogger account.

How To Add Statistics Widget For Blogspot


3. Go on your Blogger Dashboard, Tap on the Layout link as shown in the blow image.

4. Tap on Add a Gadget as displayed in the Below Image.


How To Add Statistics Widget For Blogspot


5.Just find HTML/ Javascript and tap on the + Icon.

6.After that when we click on the + Icon it will open a window >>Configure HTML/ Javascript<<. So now enter what ever you want as in title section Blog Statistics.
7.Blogger in the content section  >>please copy and paste the following code.

''How To Add Statistics Widget For Blogspot|ots''



How To Add Statistics Widget For Blogspot

<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=”entry you blog url/feeds/posts/default?alt=json-in-script&callback=numberOfPosts”></script></li>
<li><script src=”entry your blog url /feeds/comments/default?alt=json-in-script&callback=numberOfComments”></script></li></ul>
<span ><a href=”http://onlinetechnicalstm.blogspot.com/” target=”_blank”>Widgets for Blogger</a></span>

8. Easy and simple but don’t forget to change “entry your blog url” with your blog address.
9.Tap on Save button at the bottom right hand corner and u r done.Enjoyed the post? Subscribe to our feed to get a daily dose of onlinetechnicalstm!

Related Articles












okio

Post a comment

0 Comments

SEARCH OR ENTER WEBSITE NAME