Sunday, October 3, 2010

Adding Number Of Views For A Article | Blogger Tips



Needless to define the blogger plug-in that I am talking about. It shows the number of hits that your specific post have.No doubts that Wordpress has much more familiar and customizable blogging platform than that of blogger. However after Wordpress, Blogger is the one who leads the blogging Network which is owned by Google.
How to add this widget in your blog?
Login to your blogger account.
Go to Layout>Edit HTML
It is just a copy paste step.
Copy the code below:
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div align='center' style='border:solid 2px #999999; padding:2px;
margin:2px; width:100px; display:compact'>
<script src='http://nirav07.ulmb.com/counter.php' type='text/javascript'/>
Views</font></div></b:if>
Search for the following code:
<data:post.body/>
Note: Make sure that Expand Widget is checked.
Now paste the above copied code before or after the <data:post.body/>.
Pasting the code before it will add the plug-in before the post body starts. Pasting the code after it will add the plug-in after the post body, i.e. at the end of post body (See image above)
After doing this click on Save Template button.
And you are done. Now everybody can see the number of your post views. Hope you find this article helpful.

No comments:

Post a Comment

Search This Blog

Total Pageviews