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 = '{text:Disqus Shortname}'; // Required - Enter shortname in Tumblr Theme Options
        var disqus_url = '{Permalink}'; 
        /* * * 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. Select "Update Preview" and then "Save"
  6. Go back to "Edit Theme"
  7. Enter your Disqus site shortname in the "Disqus Shortname" field. If you don't, Disqus won't work.

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);
Ask the Community Contact us

Still need help? Discuss Disqus is our most active place for getting quick help, sharing feedback, and discussing issues with others – a knowledgeable and helpful support team and community are there right now. Our 101 post is the best place to get started.

Make sure to search our Knowledge Base first... your answer might be just a click away!