Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do you remove Disqus "comments" link from Tumblr pages?

I've managed to remove the Disqus comment box from all pages, so it only appears after posts. I used the following code:

...disqus code...

But I still have the 'comments' link showing up on the pages. Does anyone know of a way to remove this from pages only?

For example, this is my "about" page:


On the bottom right corner there's a clickable link for comments, I want to remove it, but still have it so the 'comments' link appears after Tumblr posts.

eg. the way it appears here: http://www.kikou.co.uk/

Any ideas guys?

share|improve this question

I used the fact that the {PostID} variable is empty for static pages.

So declare a CSS class like this:

.hiddenOnStaticPages {
    display: none;

Then wrap the comments link (and the actual comments) in a div like this:

<div class="hiddenOnStaticPages{PostID}">
Comment HTML goes here...
share|improve this answer

Try wrapping the link in {block:Date}...{/block:Date} like this:

{block:Date}<a class="dsq-comment-count" href="{Permalink}#disqus_thread">Comments</a>{/block:Date}
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.