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 = 'YOUR_DISQUS';
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[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 + "#disqus_thread"' title='Comments Count'> Comments</a>
0 comments:
Post a Comment