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/AVvXsEifauwApwKzbYwCvPZazMHHC8Ek_gWQW2TOwoL2e0o3xNvNX7z7PRVEkgCumCh_N89a2lh3PIORsMxFX8lwFsDV-25USQnP-s7WqOQlrqWnKWGwhoBGB-TL-k37sPoVUABtWL-sqRGoN9h_/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/AVvXsEgRDOZnQKktA3_WoZNhbLXHKfwILhsmWvatWXAxHCVLWiJdmyjgnSaO1_XpZizzQy8ei1HUUI-2DRrKH4g-zyXSr4HbgN_lMyyUYN1ps-aFUrwFyADLo4lyuHClvQ9fOrj8jyPaNnojFL4/s400/Reply+Button+5.jpg
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg30LCob0EEvmSoM5N0HwLrXo1Ls6ejMzltbE20_sBFlKLBtTl5TAWwZfNLyW0RLb_Vr7EIoBfmD32d4ksiaVtBkwLyuvGUccRooLUbwZ9lk2eeGS2t39WTKN0Yx66BwaSlsM-URFAj2BM/s400/Reply+Button+3.jpg
Demikian cara menambahkan reply pada komentar blog.
Semoga infonya bermanfaat.
1 comments :
o.m.g