Friday, September 16, 2011

How to Add Reply Button to Blogger Comments Similar to Wordpress comment style

Home > Blogger conditional tags > How to Add Reply Button to Blogger Comments Similar to Wordpress comment style
Blogger blogs has no provision to add a reply to comments. you must have seen a reply button to each particular comment in WordPress blogs but to blogger, this feature is not included. In this tutorial, I will like to show you how to add this nice feature to blogger comments and make the comments box more useful and professional. Note that this trick will not work on all templates especially the third party templates. But if you are using the bloggers default template then there is no cause to worry. if it doesn't work for you then i suggest you just have to wait for this feature will soon be launched by the blogger team.
 
First you need to know your blogID. 
Go to Blogger dashboard, click on Design then at the address bar you will see the last numbers after blogID. copy the numbers and paste it in a notepad and save. that is your blogID eg



Add reply/reply button to Blogger Comments codes

These are the codes that will enable Reply to show on blogger comment. read this post meticulously and pay attention. in this tutorials, you will have to choose whether to add Reply or just a button indicating reply or a customized Reply image. The following code is for the reply so copy this code

<span class='comment-reply'><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;'> [Reply] </a></span>

Now replace the text in red YOUR BLOG ID HERE with your blogID as mentioned above. Then the other text in red [Reply] if you use the above code, you will see a click able [Reply] link on your blogger commentators. So now instead of using click able link as reply, you can rather use one of the Add Reply button of your choice provided below. so you have to replace the [Reply] text with the following codes. choose one of the buttons you like and copy the code

Button 1
<img src="http://4.bp.blogspot.com/-tZ7OCCPUu4I/TnO8izOOOSI/AAAAAAAAAN8/L9QaxVPT_YA/s1600/ReplyButton+1.jpg"/>
Button 2
<img src="http://4.bp.blogspot.com/-oCILsS6v0yM/TnO9bkgRS6I/AAAAAAAAAOA/KPEeGqWQ3IE/s1600/ReplyButton+2.jpg"/>
Button 3
<img src="http://2.bp.blogspot.com/-QV3Pi6_sKss/TnO9jrB00QI/AAAAAAAAAOE/2fD4qcvlxHw/s1600/ReplyButton+3.jpg"/>
Button 4
<img src="http://4.bp.blogspot.com/-rR_OjS8E9zk/TnO9rXOZl9I/AAAAAAAAAOI/tMTAHvLfP0I/s1600/ReplyButton+4.jpg"/>
Button 5
<img src="http://2.bp.blogspot.com/-hbjlMWPszb0/TnO9wi9J5uI/AAAAAAAAAOM/L_uMEqBqans/s1600/ReplyButton+5.gif"/>
Button 6
<img src="http://4.bp.blogspot.com/-qkYdxvK6fho/TnO91TwcdJI/AAAAAAAAAOQ/dVUaiWR6BUw/s1600/Reply%252BButton%252B6.gif"/>
Button 7
<img src="http://1.bp.blogspot.com/-AbynMF-hKbw/TnO96uGaBjI/AAAAAAAAAOU/MM3OCuFhyaQ/s1600/ReplyButton+7.gif"/>

Button 8
<img src="http://3.bp.blogspot.com/-9qVlqQzG_oI/TnO-C6ekYbI/AAAAAAAAAOY/RLVf8baGj-o/s1600/ReplyButton+8.gif"/>

Button 9
<img src="http://2.bp.blogspot.com/-LRJ-BgwkKjo/TnO-Lt3Iv8I/AAAAAAAAAOc/jevxMINqdps/s1600/ReplyButton+9.gif"/>
Button 10
<img src="http://3.bp.blogspot.com/-hSW0snCmUYw/TnO-Sk9Ee2I/AAAAAAAAAOg/8OAn8udyW78/s1600/ReplyButton+10.png"/>

 Are you Ready with your Edited reply code to add on your blogger comment?

If yes, follow the steps below to add the codes to your blogger
Sign in to your blogger dashboard, click on Design, Click on Edit HTML Don’t forget to backup your templates tick the Expand Widget Templates and find the following code in your template using CTRL+F 

<b:include data='comment' name='commentDeleteIcon'/> 

Just below this code paste the add reply button code and preview your blog. If done, save it. This reply button will show at the footer position for every users comments. 
But if you want the reply comment button to show at the adjacent or right top position of every users then you just need to paste the add reply button code below 

<data:commentPostedByMsg/> 

Instead of the one mention before. and then save your templates.
Check your blog comments, you should be able to see the new development. 

Also Read:
How to add advertise here ads slots to blogger
 
I hope this info helps? feel free to share this post with your friends using the like/share buttons. you can also subscribe to my blog below this post for more tips delivered to your inbox. or simply ask any question by using the comment box below. subscribe and never miss any future post through this link CLICK HERE TO SUBSCRIBE Once entered, you will have to check your inbox for a confirmation email containing a confirmation link. Once you VERIFY your email by clicking on the confirmation link in the message, you will never miss any future articles again.

No comments:

Post a Comment

Please if you have any question to ask or contributions to make, use the comment box and do not spam. spam comments will be removed

Related Articles

Widget customized by Cyracks