komentar

Cara menambahkan reply pada komentar blog

5:44 PM



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/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.

You Might Also Like

0 comments

SUBSCRIBE

Like us on Facebook