Displaying total number of posts and comments to blogger
6 COMMENTS
|
|
|
Many old bloggers display their total posts and comments just to show how popular their blog is. You can too add this widget to your blog. The widget looks like this:
To add this widget follow these simple steps:
1.Go to Layout>Page Elements
2.Then click on Add Gadget
4. To this add the following code:
<script type=”text/javascript”>
function TotalPosts(json) {
document.write(‘<b>Total Posts: ‘+json.feed.openSearch$totalResults.$t+’</b>’);
}function TotalComments(json) {
document.write(‘<b>Total Comments: ‘+json.feed.openSearch$totalResults.$t+’</b>’);
}
</script><script src=”/feeds/posts/default?alt=json-in-script&callback=TotalPosts”></script>
<br/>
<script src=”/feeds/comments/default?alt=json-in-script&callback=TotalComments”></script>
5. You can replace the bold part of the code to whatever you like. After editing save the widget and see for yourself.
No trackbacks yet.
Wibiya – Cool Widget for Blogs
August 20, 2009 - 6:44 pm
Tags: blogger widgets, wibiya
Posted in blogger | 24 comments
Share
Many of my readers must have seen a new widget at the bottom of my site. This is a widget provided by wibiya and is loaded with really cool features , ones that every blogger would like . This is one of the best widget i have seen. And the best part is that [...]
Google Friend Connect Recommedations Gadget For Blogger
June 15, 2009 - 8:37 pm
Tags: blogger tutorial, blogger widgets
Posted in blogger | 8 comments
Share
Google Friend has brought with it a great of set of widgets to interact with your followers as well as get feedback from them. The recommendations gadget is one gadget to get feedback from followers much like ‘reactions’ in blogger and others like ‘thumbs up’. Followers can recommend posts they like by clicking on the [...]
Sexy Share Social Bookmarking Widget
May 27, 2009 - 7:43 pm
Tags: blogger hacks, blogger widgets
Posted in blogger | 14 comments
Share
Sexy Share is a really cool social bookmarking widget which uses css technique .Boris Veldhuijzen van Zanten asked me about this widget so here it is.
Here’s a preview of the widget:
Wordpress:
Here’s the original plugin for wordpressBlogger:
visit CssReflex for the blogger hack .
This widget is really simple to add. Just remember to backup your template before [...]
Random Posts Blogger Widget
May 7, 2009 - 1:15 am
Tags: blogger widgets
Posted in blogger | 37 comments
Share
I have developed a Random Posts widget for Blogger Blogs. Random posts widget displays random links of your blog. This help show content that is neither recent nor popular (because it is random ). The widget displays links in form of link lists. So you change the layout by changing the css of your [...]
Top Droppers Entrecard Widget in Blogger
April 17, 2009 - 7:23 pm
Tags: blogger widgets, entrecard
Posted in blogger | 2 comments
Share
Top Entrecard Droppers Widget
Bloggers show their love by showing links of their top entrecard droppers. You can too have your widget by following some easy steps:
1. Login to your Entrecard account.
2. Then click on the Statistics as shown below:
3. Then you will see a text Top Entrecard Droppers and you will see a feed icon [...]












May 5, 2009 - 7:29 am
Hey, what a simple yet awesome piece of code!! Thanks!!
I have it up on my site now
May 8, 2009 - 11:33 pm
To cool, Thanks!
)
July 29, 2009 - 5:57 am
Salam.
Hey that is great. Thank you.
August 4, 2009 - 2:40 pm
Great i like that… http://houseofraka.blogspot.com
December 8, 2009 - 6:30 pm
great tip! I did just delete the ‘ ‘ tag to get normal text. But the rest works great.
Thx!
Heiko´s last blog ..Homer Zeitraffer Video & Noah’s Odyssee
February 20, 2010 - 11:58 pm
doesn’t work for me

m1ha1´s last blog ..spune nu fumatului