I want to have visitor’s comments on every page. I have chosen to use https://www.htmlcommentbox.com/ because it’s free and doesn’t require visitors to login.
The instructions say that I should paste this code:
<!-- begin wwww.htmlcommentbox.com -->
<div id="HCB_comment_box"><a href="http://www.htmlcommentbox.com">HTML Comment Box</a> is loading comments...</div>
<link rel="stylesheet" type="text/css" href="https://www.htmlcommentbox.com/static/skins/bootstrap/twitter-bootstrap.css?v=0" />
<script type="text/javascript" id="hcb"> /*<!--*/ if(!window.hcb_user){hcb_user={};} (function(){var s=document.createElement("script"), l=hcb_user.PAGE || (""+window.location).replace(/'/g,"%27"), h="https://www.htmlcommentbox.com";s.setAttribute("type","text/javascript");s.setAttribute("src", h+"/jread?page="+encodeURIComponent(l).replace("+","%2B")+"&mod=%241%24wq1rdBcg%24vtgFTtLqju3cKmLBSdut9%2F"+"&opts=16862&num=10&ts=1608410344675");if (typeof s!="undefined") document.getElementsByTagName("head")[0].appendChild(s);})(); /*-->*/ </script>
<!-- end www.htmlcommentbox.com -->
However…
- Is there a way that I can just paste the code in one place and have it automatically appear at the bottom of every site page?
- When pasting the code onto individual pages, the commenter after commenting sees their comment duplicated 8 or 9 times! (Refreshing the page resolves the issue, but it would be great not to have confused visitors seeing weird stuff happen).
Is there a way to get this done? Or can you please recommend a better way of getting comments on pages?
Very many thanks!