Cara menambahkan reply pada komentar blog



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 != &quot;static_page&quot;'> <a expr:href='&quot;https://www.blogger.com/comment.g?blogID=7522456094097140723&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%3A%20#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;' 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='&quot;https://www.blogger.com/comment.g?blogID= 7522456094097140723&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.openundefinedthis.href, &quot;bloggerPopup&quot;, &quot;toolbar=0,location=0,statusbar=1,menubar=0,scrollbars=yes,width=400,height=450&quot;); return false;'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIUiYvdxclRik-7oAMiDx5icn0r9sJGdB72ppEbRXiLgE2K4I55VbdPoX1H1leamh6bNhWa-uX1FFw7YsDOI-rauI_Mtgb8Qb7UTmoeC7ltgij9QIzGjeDDEGBpNCLufLCkmPpLkKxbc64/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/AVvXsEgExBhluD-48Rj2lQrsAbIrK_NS_PxqT-BTdpZavFa9h_ErVwJDwXWmmxdRJVH-ctZwlRsRkzbgs-sWvLaukug4VlSnUR3KlLCrNmI9aCXI22PKoGrR5_T9UdiDVwD5hGLSyJ4fJ2OCYdY/s400/Reply+Button+5.jpg



https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiMkbt-r0HIbrLv3ZrdINjyFuEr5vIxCq9TI5edZ1W6Qsu2A2Pvjh-fINo55ob7hsjAIBpvTZR24w3wm4WCa5rdRieUVbCKguFz-Uloclf8gq604jEeA0xsezyH59e9m1fyxTDCD0p5Js/s400/Reply+Button+3.jpg



Demikian cara menambahkan reply pada komentar blog.

Semoga infonya bermanfaat.

Comments