How to add comments to Ghost

Ghost currently does not have built-in support for comments. This article shows you how to add comment capabilities to your Ghost blog using the Disqus platform.

Adding comment functionality to Ghost

To add Disqus commenting to your Ghost site, follow these steps:

  1. If you do not already have a Disqus account, go to and sign up.
  2. After you register with Disqus and log in, go to
  3. The Add Disqus to your site page appears:
    • In the Site name text box, type a name for your site. The name can be anything you want.
    • In the Category list box, select a general category for your site.
    • Click Finish registration.
  4. Under Choose your platform, click Universal Code.
  5. Copy the entire block of code in the first text box.
  6. Using SSH, navigate to the installation_directory/content/themes/theme_name directory, where installation_directory is the directory where Ghost is installed and theme_name represents the theme currently enabled for your site.
  7. Use your preferred text editor to open the post.hbs file.
  8. At the end of the file, locate the following line of text:

  9. Paste the code block that you copied in step 5 just before the {{/post}} element you located in step 8.
  10. Save your changes to the post.hbs file.
  11. Restart Ghost. Disqus comments are now enabled.
Get Ghost Hosting

Article Details

  • Product: All unmanaged hosting accounts
  • Level: Intermediate

Related Articles

    Show More

    Did you find this article helpful? Then you'll love our support. Experience the A2 Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.

    We use cookies to personalize the website for you and to analyze the use of our website. You consent to this by clicking on "I consent" or by continuing your use of this website. Further information about cookies can be found in our Privacy Policy.