IT:AD:Disqus:HowTo:Integrate with a site
Summary
Process
- Sign up to http://disqus.com
- Go to:
* It will generate something akin to (replace
yourshortname
):
<callout icon="true" type="id="disqus_thread""></callout> <script type="text/javascript"> /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ var disqus_shortname = 'yourshortname'; /* * * 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>
- Put the div and script into your page. Done.
Resources
- Dokuwiki: