DISQUS COMMENTS: HOW TO ADD DISQUS ON SITE

Disqus Onlick Event

Disqus Comments: How to add Disqus on site - Any site's template supports Disqus comments form. Disqus is the one if the neat add-on outhere beside Facebook's comments.

HOW TO ADD DISQUS COMMENTS ON SITE


 Register / Log in Disqus Account on Disqus's site

 Add the script below where you want to showing Disqus form.

HOW TO ADD DISQUS ON SITE

<div id='disqus_thread' itemscope='itemscope' itemtype='http://schema.org/userComments'/>
<script type='text/javascript'>
/* * * CONFIGURATION VARIABLES * * */
var disqus_shortname = &#39;YOUR_DISQUS&#39;;
/* * * DON&#39;T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement(&#39;script&#39;); dsq.type = &#39;text/javascript&#39;; dsq.async = true;
dsq.src = &#39;//&#39; + disqus_shortname + &#39;.disqus.com/embed.js&#39;;
(document.getElementsByTagName(&#39;head&#39;)[0] || document.getElementsByTagName(&#39;body&#39;)[0]).appendChild(dsq);
})();
</script>
</div>

CHANGES DISQUS USERNAME:

Change YOUR_DISQUS to your disqus username.



OPTIONAL: DISQUS COMMENTS COUNTS

To show Disqus comment count in the index page and posting, add the tag below to post meta or post information in according to your template.

Add this rel tag:
title='Comments Count'

And the result would be similar like this:
<a expr:href='data:post.url + &quot;#disqus_thread&quot;' title='Comments Count'> Comments</a>






Rebates Bonus
Exclusive Rebate

Sign up today and be the first to get notified on new updates.


LOAD DISCUSSION

0 comments:

Post a Comment