11 October 2011

Add a reply option to blogger comments like Wordpress

Log in toBlogger, go to Layout Edit HTML
and mark the tick box "Expand Widget Templates"
Now find (CTRL+F) this code in the template:
<b:include data='comment' name='commentDeleteIcon'/> </span> Now copy one of the below codes and paste it just after the above line. Code:<span><a expr:href='&quot;https://www.blogger.com/comment.g?blogID=YOUR BLOG ID HERE&amp;postID=&quot; + data:post.id + &quot;&amp;isPopup=true&amp;postBody=%40%3C%61%20%68%72%65%66%3D%22%23&quot; + data:comment.anchorName + &quot;%22%3E&quot; + data:comment.author + &quot;%3C%2F%61%3E#form&quot;' onclick='javascript:window.open(this.href, &quot;bloggerPopup&quot;, &quot;toolbar=0,location=0,statusbar=1,menubar=0,scrollbars=yes,width=450,height=450&quot;); return false;'><img alt='Reply To This Comment' src='YOUR REPLY BUTTON IMAGE URL HERE'/></a></span>

Now, in the above code replace the texts in BLUE with your "Blog ID" and the texts in RED with the "Reply Button Image Url".

Now click Save Template
Important ! 
In order to make this work you must add your blog Id .
What is your blog ID??
Simply go to your layout page, posting page or any of the pages and copy your I.D. from the address bar at the top of the page.

Replace URL of image with any image of your choice or you can choose one from below- 





No comments:

Post a Comment