Friday, November 2, 2007

Slightly Simpler Disqus Comment Count Addition

When adding Disqus commenting as David described, Disqus’s instructions for adding a count to all posts involve adding a snippet at the end the block for each type of post. If you want to add a count link to all posts, you can just add the snippet once (for most themes) at the end of the “post” div that is just inside the {block:Posts}. Put the snippet inside a div of its own with a class, and you can style it as you like. Mine looks like this: sorry, pre tag didn't work
Where the first line and the last two lines were already present in the theme. Then I just put this in my Custom CSS box:

div.disqus_comment_count{
font-size: 10px;
float: right;
}

If you were using a custom theme before the v3 rollout, you’ll need to add a CustomCSS theme variable just before the /style tag to enable Custom CSS in the theme editor.

blog comments powered by Disqus
  1. dnorton reblogged this from toldorknown
  2. toldorknown posted this