View on GitHub

Integrating the Disqus service into your blog

jhermann's github blog

☛  September 6, 2013   ❝Integrating the Disqus service into your blog❞

Categorized   webdev   ≀   Tagged   how.to   services  

To give your hand-crafted blog the ability to gather visitor comments, Disqus is a fast way to get there with no hassle.

Disqus Registration

You can register your site and create a new account in one go, by surfing to the site registration form.

  1. Fill in the form.
  2. In step 2, choose “Universal Code” as the platform. Copy the code snippets to your site code, and push the changes to publish them.
  3. Step 3 will present you with your new site's administration panel.

Layout & Markup Changes

My first attempt was quite successful, but I made an error with the comment count integration. You have to actually create additional links where Disqus can insert the current counters. I also did a little styling in that second changeset.

Finally, I also added the post counter at the top of each post, so you can easily skip to the comment section. And that was it, see below for the result.

comments powered by Disqus