All Tutorials

Your One-Stop Destination for Learning and Growth

How to Display Top Comments and Disqus Recent Comments on Your Blog

Blogging is an excellent way to share your thoughts, ideas, and experiences with the world. One of the essential aspects of maintaining an active and engaging blog is having a healthy discussion in the comments section. In this post, we'll show you how to display top comments and Disqus recent comments on your blog.

Prerequisites

Before we dive into setting up the top comments and Disqus recent comments widgets, make sure you meet the following requirements:

  1. Your blog should be built using a platform like WordPress or Jekyll that supports Disqus comments.
  2. You have already set up Disqus on your blog. If not, sign up for Disqus and follow their installation guide.

Displaying Top Comments

Displaying top comments adds an interactive element to your blog, encouraging readers to participate in the ongoing discussion. To achieve this, follow these simple steps:

  1. Log in to your Disqus account and navigate to the Admin panel.
  2. Click on "Settings" and then select "Design & Layout."
  3. In the sidebar, look for the "Shortnames" tab and copy your shortname (e.g., myblog.disqus.com).
  4. Install a WordPress plugin or find an appropriate solution for your blogging platform to display top comments.
  5. Configure the plugin or solution with your Disqus shortname to showcase the top comments on your blog.

Displaying Disqus Recent Comments

Showcasing recent comments can create a sense of community and engagement, making visitors more likely to participate in discussions. Here's how to display Disqus recent comments:

  1. Navigate back to your Disqus Admin panel and click on "Widgets" in the sidebar.
  2. Select the "Recent Comments Widget" and configure it as needed. You can choose to show a specific number of comments, customize the title, or select the comment threads you want to display.
  3. Copy the JavaScript code snippet provided by Disqus for the widget.
  4. Add this code to your blog's template files using the appropriate method depending on your platform (WordPress hooks, Jekyll includes, etc.).
  5. Save the changes and preview your blog to ensure the recent comments are displayed correctly.

Conclusion

By implementing these simple steps, you'll be able to showcase top comments and Disqus recent comments on your blog, fostering a more engaging and interactive environment for your readers. Encourage discussions, build a community, and enhance your visitors' overall experience on your blog. Happy blogging!

Published November, 2016