Tumblr Manual Installation Instructions

For displaying Disqus on your site, typically on individual article or post pages.

  1. In Tumblr, visit Settings > Edit theme
  2. Select "Edit HTML".
  3. Copy and paste the following code anywhere between the <head> and </head> tags: <meta name='text:Disqus Shortname' content='' />
  4. Copy and paste the following code immediately after {/block:Posts}:
    <div id="disqus_thread"></div>
    <script type="text/javascript">
        var disqus_shortname = '<example>'; // Required - Replace <example> with your forum shortname
        /* * * 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);
    <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
    <a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
  5. Remember to replace "<example>" with your forum shortname and remove the “<” and “>” from either side. If you don't, Disqus won't work.
  6. Select "Update Preview" and then "Save"
  7. Select "Appearance"
  8. Enter your Disqus site shortname in the "Disqus Shortname" field

Comment count code

For displaying comment counts on your site's home page.

  1. In Tumblr, visit Settings > Your Site > Customize
  2. Select "Edit HTML".
  3. Copy and paste the following code immediately before {/block:Posts}:
{block:IndexPage}<a class="dsq-comment-count" href="{Permalink}#disqus_thread">Comments</a>
<script type="text/javascript">
    var disqus_shortname = '{text:Disqus Shortname}';

    (function () {
        var s = document.createElement('script'); s.async = true;
        s.type = 'text/javascript';
        s.src = '//' + disqus_shortname + '.disqus.com/count.js';
        (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
Contact us

We welcome all questions, feedback and bug reports. If you're having an issue, we usually need the following information:

  • A brief description of the issue
  • Link to any page where you saw the issue
  • Screenshots that illustrate the problem - How do I take a screenshot?