Jika sobat ingin menambahkan button reply pada komentar blog.
Berikut ini caranya:
1. Login blog
2. Edit html dan centang expand widget template
3. Letakkan kode di bawah <data:commentPostedByMsg/>
Script kode reply komentar dengan teks:
<b:if cond='data:blog.pageType != "static_page"'> <a expr:href='"https://www.blogger.com/comment.g?blogID=7522456094097140723&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%3A%20#form"' onClick='javascript:window.open (this.href,"bloggerPopup","toolbar=0,location=0,statusbar=1,menubar=0,scrollbars=yes,width=450,height=450,");return false;' style='padding:0px 5px; border:1px solid #ddd; float:right'>Reply Comment</a></b:if>
Kode script replykomentardengan button atau gambar
<span class='comment-reply'><a expr:href='"https://www.blogger.com/comment.g?blogID= 7522456094097140723&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.openundefinedthis.href, "bloggerPopup", "toolbar=0,location=0,statusbar=1,menubar=0,scrollbars=yes,width=400,height=450"); return false;'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj59pFhGOiAF0EU2IZnb2IaTLMWwe2KHQMTiAgw6TALxraVd5UwSABdnuIw89W8P4AWByUF7SpYryPu_oGhH-aD8MK-wJEytZXVffsSeKj3F4TrlCsu1HHffx2rgja38FxdKzyiI0UsWBUk/s1600/Reply+Button+1.jpg' style='float:right;' title='Reply To This Comment'/></a></span>Keterangan:
7522456094097140723 adalah id blog,
dapat dilihat di address bar saat sobat berada pada halaman saat ingin posting artikel.
Ganti dengan blog id sobat
Kemudian simpan template.
Contoh tombol reply:
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNUqL_iRZMjJT8qxTEeqRh72MgBw-XwBqS4ljqqgTZf_V_FJSe6SFao1fFTtW5-al5D5v_1ByHG39EZAYvTBFE5bKDmXa8IiQ7rumt0EcVhColq0hNwUCWuM8eSvxcVnn6ffPoy7z01X0/s400/Reply+Button+5.jpg
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj17ME6o4L54sEEmhF0RftFkHHrmvO6cIEewWgbVX1chD0UA1mgHOFywm5a5u6oEJPhb_z1SQxyv6IcfaCcQceNCpAFSGTHZ4zf4YmfXOZ9scyFVUGLZ2k2VY1dbqcYbJHCuT_wXqvg5hY/s400/Reply+Button+3.jpg
Demikian cara menambahkan reply pada komentar blog.
Semoga infonya bermanfaat.
0 comments