How to replace Post a Comment with an image
To replace "Post A Comment" message in your Blogger / Blogspot blog follow the next steps:
Step 1. Log in to Blogger, go to your Blogger Dashboard >> Design >> Edit HTML
Step 2. Tick the "Expand Widget Templates" checkbox.
Step 3. Now search (CTRL + F) for the code marked in red:
<a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'>
<data:postCommentMsg/></a>
...and for this one too:
<h4 id='comment-post-message'><data:postCommentMsg/></h4>
Step 4. Replace <data:postCommentMsg/> with one of the below images codes:
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9yar2UZ1adyLrag1vz_jUmM8jaRt6OLy2IHqhV2LlFikf-IFvQYV6KHsGNVUPEn2PHPGn5kW6hinuAJ-27jo9rD_RyEjByddYZJmEtDaudbt3Nn2Hs6-HyeARVsKuInZNLULO3J3jv7E/s1600/leave+a+comment.png" />
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPJXqrOd-6gYImycKelZYEjQzD6DTm-xNYf02TGPwmLkYPIuQI-L8P_ANRHX8_QeePVqVTunnAJz-y0wgGXhA03T1DgV7WXVs7zo8DU6kgSDRn5h9Z3_m3QaNlnfGGDqNrmdyC9T2MeDA/s1600/Post+a+comment+blogger.png" />
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2-5riMSm9fWVeaqOzHV5P-L5mbPY3OyjgYCxdGllO9R3mbWvHY-9jCQPpzx3dsqy4y1P40YsHR6R7aAnpfq4WRFccSWInDHxDhyphenhyphenFCRuchFNXmFJ96YYS-1XRnUb86pVaukdjbGDeP9kzV/s1600/animated+comment+arrow.gif" />
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7HSL0Iw0gydqbmZrKDuYT7RAz8G65KzLuHKguE2C4qUHaXRMXItbo51-zqrcXvsFyE5h-zYg2g4eh8RcA9vdifFd8Tx6zjGR1adzhy7AeoOurH-DhecCXhnWI5PA9zb0EwL9DkCV53qrf/s1600/leave+a+comment2.png" />
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBw64yUSqwNcyjq16xu369Wyekymwm5229KwfdCy7-ywKOaqgrfiJBombmBc68dsb6tKUXeZC0a2mjPQdxddUx2WHLNmJwQPyWmw8hrTyTEJOz7F9slhmQyCxoJLW0pjc2snT_XH_bkyZs/s1600/comment.gif" />
You can use your own image instead. Just upload your image on Blogger, switch to Edit HTML tab, copy the image code and replace <data:postCommentMsg/> with your code.
UPDATE! Step 5. The first steps will replace the text only when there are no comments available. To show the image each time new comments are added, we should add the code of the image we want to appear after the 4th of the below code (search 4 times for it):
<p><data:blogCommentMessage/></p>
Step 6. Save Your Template.
Thats it! I hope you like your new comment form !
Tidak ada komentar:
Posting Komentar