Before add this feature to your blogger blog you must find your blog ID.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs-pkwPqKMbmby8yu7uZ-fEw3sq4tUZeblHWny4m6gcIZ3_zl5ElfHpXIqDdPihK9-akhXPNDl6gxPP4rS-vKRQ87nTYVIfeP5fZHbawlap1Zta2FGB8mgIf6Az0kiZmlA5hIOHT87syRz/+comments.png)
To find your blog id follow the step given below.
Login to your dashboard and click on "Settings" link of your blog.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheMUP74MdeRo06ETY9Js8tuult2dapuyYwCvdlKKNQI2NwTbRN_5JzopGwpdZZJbh9gCZL3ZAcGlI3WGouw9XuDXZju5XEidhifmtyEhQ4jvXwthk7PvWguUPTPG8oBi4qcwlIgMjPHaLU/+settings.png)
Now look at address bar of your browser.You can see your blog ID on the address bar.It will be a number like 2183677992760077155.Now note your blog ID.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiM0PLsNTGPBYA2nUmFD8zZ8fVpAiCUTtldA1KUhWLOkxxQt336paaflvjhL3qC_iUDej3gy6Wy5YXR9cN9ZGi80EjAXTgHJzMj3dVOgd-1AMNxtx5v4QeGyag7atfk42YeOrxBJHElcUx0/+ID.png)
Now let see how to add reply option to blogger comments.
1.Log in to your dashboard--> layout- -> Edit HTML
2.Click on "Expand Widget Templates"
3.Scroll down to where you see this:
<data:commentPostedByMsg/>
4.Copy below code and paste it just after above code.
<span><a expr:href='"https://www.blogger.com/comment.g?blogID=YOUR-BLOG-ID&postID=" + data:post.id + "&isPopup=true&postBody=%40%3C%61%20%68%72%65%66%3D%22%23" + data:comment.anchorName + "%22%3E" + data:comment.author + "%3C%2F%61%3E#form"' onclick='javascript:window.open(this.href, "bloggerPopup", "toolbar=0,location=0,statusbar=1,menubar=0,scrollbars=yes,width=450,height=450"); return false;'>[Reply]</a></span>
NOTE : Remember to replace YOUR-BLOG-ID with your real blog ID.
Look at the example given below:
<span><a expr:href='"https://www.blogger.com/comment.g?blogID=5649319381222938273&postID=" + data:post.id + "&isPopup=true&postBody=%40%3C%61%20%68%72%65%66%3D%22%23" + data:comment.anchorName + "%22%3E" + data:comment.author + "%3C%2F%61%3E#form"' onclick='javascript:window.open(this.href, "bloggerPopup", "toolbar=0,location=0,statusbar=1,menubar=0,scrollbars=yes,width=450,height=450"); return false;'>[Reply]</a></span>
5.Now save your template and you are done.
0 comments:
Post a Comment