Start a conversation


To use Disqus for commenting, follow the steps below:

Configure Disqus

  1. Create a free Disqus account and follow the steps to install Disqus on a website
  2. From within your theme files, locate the post.hbs file. If you do not already have a copy of your theme to work with, you can download a copy of your active theme by going to Settings > Design from the admin menu, and clicking "Download" next to the active theme.
  3. Copy and paste the Universal Embed Code between a {{#post}} and closing {{/post}} block on post.hbs file.
  4. Change PAGE_URL to "{{url absolute="true"}}"
  5. Change PAGE_IDENTIFER to "ghost-{{comment_id}}"
  6. Save your changes to the post.hbs file and re-zip the entire theme folder.
  7. Upload your the theme zip directly to your publication from the Design settings of your admin area.

Note: If you choose to place the Disqus snippet outside of a  {{#post}}{{/post}} block, your identifier must be {{post.comment_id}}. The comment_id identifier is required to avoid any issues caused by post URLs changing.

Migrating Disqus from v0.11 LTS to 1.x

If you are using Disqus on Ghost v0.11 LTS, you will need to make changes to support Ghost 1.x depending on which version of the Disqus code you are using.

  • If your Disqus snippet has  {{id}}, it must be changed to ghost- {{comment_id}}
  • If your Disqus snippet has  {{}}, it must be changed to  {{post.comment_id}}
Choose files or drag and drop files
Was this article helpful?
  1. Sarah Frantz

  2. Posted
  3. Updated