Monday, December 7, 2009

How to put Top Commenter in the blog?

In the older post, I had wrote about how to put top post in the blog and today I want to wrote about how to put top commenter in the blog.Both of them look familiar.Am I right?By addding this top comment, you will be able to see the visitors who give the highest number of comment to your blog.To start having your own top comment,follow the steps below.Let's go for it. 

Step 1:
You must log in to blogger as usual.

 Step 2:
You must go to Layout--Page Element.Click at the Add a Gadget.

Step 3:
You must click at the HTML/JavaScript.

Step 4:
Copy and paste the code below in HTML/JavaScript

<script type="text/javascript">
function pipeCallback(obj) {
var i;
for (i = 0; i < obj.count ; i++)
var href = "'" + obj.value.items[i].link + "'";
if(obj.value.items[i].link == "")
var item ="<li>" + obj.value.items[i].title + "</li>";
var item = "<li>" + "<a href=" + href + ">" + obj.value.items[i].title + "</a> </li>";
<script src=" name of commenter that you don't want at the top commenter" type="text/javascript"></script>

You must change the blog name in the code text with your blog name without put http://. You can change the  
The name of commenter that you don't want at the top commenter   with your name.What I mean is,if you had also commented your post,you can put your name so the visitors cannot see your name in the top commenter.

Step 5: You must save it.

Hope you will successed.




outsourcing jobs on July 18, 2012 at 1:37 AM said...

very hierarchical explanation. Thanks

Post a Comment


Blogger Tips and Style Copyright © 2009 Community is Designed by Free Blogger Template