Welcome to our AllBlogTools.com v.3 new version, We are still in beta, please contact us to report an error.
Page Views / Post Views Counter Widget For Blogger.
As a blogger for very long time, I’m sure that every blogger wants to know how many times his new post viewed.
A lot of visitors contacted me about this widget and asked me if it’s possible to do it in blogger.
So today i’ll show you how to do it in blogger,
It’s very easy to do and there are 2 styles for this widget.

This is very easy to do it two steps, step 1, choose your widget style,
and step 2, pate it’s code in your blogger template code.
- Style 1. ( With Icon ) code,
<b:if cond='data:blog.pageType == "item"'><div align='center' style='border:solid 2px #999999; padding:2px; margin:2px; width:100px; display:compact'><img height='16' src='http://forums.bit-tech.net/images-light/misc/stats.gif' width='16'/> <a href='http://www.allblogtools.com'><b><font size='2'><script src='http://nirav07.ulmb.com/counter.php' type='text/javascript'/> Views</font></b></a></div></b:if>
- Style 2. ( No Icon ) code,
<b:if cond='data:blog.pageType == "item"'><div align='center' style='border:solid 2px #999999; padding:2px; margin:2px; width:100px; display:compact'><a href='http://www.allblogtools.com'><b><font size='2'><script src='http://nirav07.ulmb.com/counter.php' type='text/javascript'/> Views</font></b></a></div></b:if>
Please copy your widget code and follow instructions in step 2.
Now go to your blogger account then navigate to, Layout >> Edit html, And before doing any thing you must check Expand Widget Templates box.
And find the next Code
<div class='post-header-line-1'/>
And after it, paste your widget code You can get the widget code from previous step
What, If you didn’t find the code above in your template, The try to find the following,
<data:post.body/>
And paste the widget code Before it.
, after doing this, please click Save Template and you are done.
you can see a demo for this widget( click here ) , in this demo we use style 1 with the icon,
thanks very much for best blogger widgets
Related Tricks & Tutorials
Comments will be closed off on this post 365 days (1 year) after it is published. Apologies to this, but it's all about avoiding a growing comment spam problem. See our most recent posts where you can comment here
Try Advanced Blogger Templates Search >> 



I like it
New version available
Features Added
* New code makes Faster loading
* Post views shown as image rather than text
* You can show counter on Homepage too.
* No ads at all. Advert Free.
http://www.bloggerwidgets.cz.cc/2010/05/page-views-post-views-counter-widget.html
Hey MAX nice tool.. was wanted to use it frm a long time.. But i wants it to show the views in the home page.. i mean not only in the post.. but in the homepage itself with all the posts..!! is it posible..!!
@ HB and Golden, this can be done easily, you just have to remove 2 parts of the code,
the above widget code start with the following part.
and ends with the following part.
please remove the both parts and the widget will start appearing in home page too.
Hi! Thanks for the reply. I tried your suggestion. The widget showed on the homepage indeed but the page views were wrong. Like on the top post, it will say 6 views (although it will say 16 views when you click on that same article), the next post will say 5 views, and so on and so forth.
Lots of love,
Why not show Viewers?
hi cosmin, thanks for commenting, please note that this hack is full of problems, and i mentioned before that i’ll post a better widget, please wait. i wish i can post it soon.
useful thanks
Amazing! I just tried it on my blog and it worked. But I hope you can make something where the widget can be seen in the homepage and not only when you open that specific article. Thanks anyway though. I still like it.
Lots of love,
hi Golden, please look at my reply on HB comment. i wish it’ll help you.
what its including if we enter my page or unique visitor…?
nice…
Thanks Max
Gr8 Work
Thanks : I was searching it from a long time..
hi max where to get the widget please? i want the one exactly like yours it suits the color of my blog
hi mau, sorry but i don’t understand why do you ask this question. all instructions are included in the tutorial.
how to change the color of the text
it shows red color .
i want some other color .
can it show no. of unique visitors
Thank you very much buddy for this trick. I was looking for this. I just added your link in my blog. Give a look at that.
Is there any way to reset the views to 0
Hi. Please help me. How can I reset the view count to 0. Thanks.
It does not work on my blog. Could you help? Thanks
hi l2c, please view your post it self and not your blog home page to see the counter,
Why did you deleted my comment. I asked you a a help. I didn’t comment for advertising here. I added your link in my blog since I liked you service. But I never thought that you will do like this. Sorry, I think it was my mistake. My doubt was how to reset the count view code in blogger to 0. Thats y. Ok
hi robin hood, please remove the code and then add it to your template again.
hi Robin Hood, sorry for that but i didn’t delete any of your comments, it’s my spam protection software, your comments looked like a spam for the soft ware so it added your comment to waiting approve list, sorry.
This code is a hack, it opens an advertisement on any reload!!! Too good to be true!
sorry for all, it’s not a hack but the site where the script is hosted has added an advertisements to all hosted files. so i’ll close the comments here and then add another new tutorial soon about the same tool.
Your Comment Here …. *
Hi i am Admin@best blogger widget . Creator of this widget.
Sorry for inconvinence caused . Its due to my hosting provider now shows ads on my account.
a new Version is available at http://www.bloggerwidgets.cz.cc
Features included
1. Faster load time.
2. Now views shown as image.
3. No ads whatsoever
4. You can display views on HomePage also.
Your blog is better
mind your language.
You cant get it all for free.
buddy this script is hacked , i dont know what happen it is your trick or anything else
. but i puted this script in my blog ,but few days it worked,but suddenly it generate pop up advertisement in my blog,when i remove this script ,my blog working perfectly
so please dont install it on your blog
thnk you.lets try it.
genius posting …..max…so interesting..
I only see the word ‘Views’ when I go into my comments to see how many views I have on a post. No number shows up. I chose the option with no icon. Help please.
hi nance, please note that this is a reported widget, and it’s not perfectly working, i’ll post another one really soon.
hi all, sorry, but this widget have some problems,
please wait and i’ll post another great one really soon.
kind regards
max
Yes Max, the widget doesnt work anymore. pls help us as soon as possible
Invalid query: Table ‘counter’ is marked as crashed and should be repaired
We still wating…help us pleaseee
Thanks…very interesting
thanks,,, nice share..
How can we have a page view counter like your.
the one on the right side.
Is there any code for it
hi all, sorry, but this widget have some problems,
please wait and i’ll post another great one really soon.
kind regards
max
this is the second time i mention this info, so i’ll close comments on this tutorial and please keep an eye on allblogtools.com to see the newest alternative for this widget.