How Do I Embed Disqus in Webflow?

In this tutorial, we will learn how to embed Disqus in Webflow. Disqus is a powerful commenting system that allows website visitors to engage in discussions on your site.

Adding Disqus to your Webflow site can enhance user interaction and create a sense of community. Let’s dive into the step-by-step process of embedding Disqus into your Webflow site.

Step 1: Create a Disqus Account

If you haven’t already, head over to the Disqus website and create an account. Signing up is free and only takes a few moments.

Step 2: Create a New Site in Disqus

After creating your account, login to Disqus and click on the “Add Disqus To Your Site” button. Fill out the required information for your new site, including the name, category, and shortname (unique identifier for your site).

Step 3: Configure Disqus Settings

Once you have created your site, you will be redirected to the settings page for that particular site. Here, you can customize various aspects of your commenting system such as appearance, moderation settings, and notifications.

  • Appearance: Adjust the colors, fonts, and styles of the comments section to match your website’s design.
  • Moderation: Set up moderation rules to control which comments are displayed on your site.
  • Notifications: Choose whether or not you want to receive email notifications when new comments are posted.

Step 4: Copy Your Site’s Shortname

To embed Disqus in Webflow, you need to copy the shortname of your site. The shortname is a unique identifier that connects your Webflow site with the Disqus commenting platform.

To find your site’s shortname, navigate to the “General Settings” tab in your Disqus admin panel. The shortname will be displayed at the top of the page.

Step 5: Add the Disqus Embed Code to Webflow

Now that you have your site’s shortname, it’s time to add the Disqus embed code to your Webflow site.

  1. Login to your Webflow account and open the project you want to add Disqus to.
  2. Select the page where you want to display the comments section.
  3. Add an Embed Element: From the sidebar, drag and drop an Embed element onto your page where you want Disqus to appear.
  4. Paste the following code into the Embed Code field:

“`


“`

In this code snippet, replace `your-shortname` with your actual Disqus shortname obtained in Step 4. Additionally, if you are adding Disqus to multiple pages, make sure to adjust the `this.url` and `this.identifier` values accordingly.

Step 6: Publish Your Webflow Site

Once you have added the Disqus embed code to your Webflow site, save your changes and publish your site. The comments section should now appear on the designated page(s) of your website.

Conclusion

Congratulations! You have successfully embedded Disqus into your Webflow site.

Now, visitors can engage in discussions and leave comments, enhancing the overall user experience. Remember to moderate the comments regularly to ensure a healthy and respectful environment for your community.

Feel free to explore additional features offered by Disqus, such as social media integration and user profiles, to further enhance the commenting experience on your Webflow site.

Happy commenting!