How to Add Comment Widget to Blogger

Hello friends, today on a beautiful day, especially when the Shipment services in Da Nang are back in operation, a person who specializes in ordering food like me is so happy, so I decided to write this article to share. I will share with you how to put Comment Widget on BloggerNo more rambling, let’s get to the point!!!

How to Add Comment Widget to Blogger

Step 1:
You log on Information,  then select Layout and select the Add gadget HTML / Javascript in any location where you want to place the widget Comme n t.
How to Add Comment Widget to Blogger


Step 2: 
You copy the entire code below and put it in and then click Save
<link href=’//kenbtec.github.io/recent-comment/recent-comment.css’ rel=’stylesheet’ type=’text/css’/>
<script type=”text/javascript” src=”//kenbtec.github.io/recent-comment/recent-comment.js”></script>
<script type=”text/javascript” src=”/feeds/comments/default?alt=json&amp;callback=idbcomments&amp;max-results=5″></script>
<div class=’idbcomments’>
  <div class=’left’>
    Hiện có <b><span id=’Stats1_totalComments’></span></b> bình luận
  </div>
  <div class=’right’>
      <a href=’/p/recent-comment.html‘ target=’_blank’ title=’Xem 1000 bình luận’>Xem thêm<i class=’fa fa-angle-right’ style=’margin:0 0 0 5px’/></i></a>
  </div>
</div>
<!– get số lượng comments by Ngô Hoàng Anh Tuấn –>
<script type=”text/javascript”>
    //<![CDATA[
    function totalComments(json) {
        document.getElementById(‘Stats1_totalComments’).innerHTML = json.feed.openSearch$totalResults.$t
    };
    document.write(‘<script type=”text/javascript” src=”/feeds/comments/default?alt=json-in-script&max-results=0&callback=totalComments”></script>’);
    //]]>
</script>

Note: You change /p/recent-comment.html to the path of the comment page you want to go to

Step 3:
Now you just have to Save and enjoy

Click to rate this post!
[Total: 0 Average: 0]
52
Subscribe
Notify of
guest
0 Góp ý
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x