11 October 2011

Add a reply option to blogger comments like Wordpress


STEP #1
Log in toBlogger, go to Layout Edit HTML
and mark the tick box "Expand Widget Templates"
STEP #2
Now find (CTRL+F) this code in the template:
<b:include data='comment' name='commentDeleteIcon'/> </span> Now copy one of the below codes and paste it just after the above line. Code:<span><a expr:href='&quot;https://www.blogger.com/comment.g?blogID=YOUR BLOG ID HERE&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.open(this.href, &quot;bloggerPopup&quot;, &quot;toolbar=0,location=0,statusbar=1,menubar=0,scrollbars=yes,width=450,height=450&quot;); return false;'><img alt='Reply To This Comment' src='YOUR REPLY BUTTON IMAGE URL HERE'/></a></span>



Now, in the above code replace the texts in BLUE with your "Blog ID" and the texts in RED with the "Reply Button Image Url".

Now click Save Template
Important ! 
In order to make this work you must add your blog Id .
What is your blog ID??
Simply go to your layout page, posting page or any of the pages and copy your I.D. from the address bar at the top of the page.



Replace URL of image with any image of your choice or you can choose one from below- 
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheW62ZZLDtHP42NID5x1sCOjjzvFzdt8o9RAZ3dyojrNo8yjX9VAvr3v_0GHkvcmEoY5xYUBF9P6SJwWTdSL71F9RRS1Eol00haqM2j98C8qOAmf2JrUQjTosgwmTgWMCVbGKQT0Q6Itu9/s320/reply01.png

 https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDHF7ut4iKPEKAg0TfELZQS1qt0-Y-_P46fXyxrSLOyjc8QIX-q3hJDsPXi782T21IRe3tspGzA2yrmiZRGhrBXwBkQeXLQmyO-hVMTDra3ug0MwsHw9eGJf_Vg7X8EdfPnkyKGX49MDjm/s320/reply03.png

 https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-H_YTe32UfJ-qVl3SeTLQNagl0QnFPXGOS0gKKt_6L8WIQFlxMZWdwg4uJrrZxGCsm-9jFHm8B4WVoS_5fgmxljdRHImGMEbouTzFJuOdUXdAPQ8RPs3LEj-CztLd9fV4hHGnSsSZWT4H/s320/reply04.png

 https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6WCU6e3pdtIfKZs4NFmaXxM4Qm3LoCZAbbH64kqqfGaGjUq26084pWHklKyFi8pqG6C0SCMV0sjxq6KIP7toUSr5G6JBh36nIGnJEnd9So8zNLjY-WPgyBHRgew1IE_4M3L-r35GgAYp4/s320/reply02.png

 https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiw1J7N2SLWgNIfFmxo7dBQbfiXOYX-kS0Nmk6KNnD-5oz8I0-fSmICaKcvcqwgiYJ2Aeuiw_xmYJHDmxuF-byMZla21NiDt0Cm4N8P7am5N1OWh897T63Ss6tArPa01Xw0efD775wSCqFs/s320/reply05.png

No comments:

Post a Comment

www.lochan.in