Best 2 Know

The Ultimate Blogging Resource

  • Advertising
  • WebHosting
  • Contact Us
  • Blogger
    • Blogger Templates
    • Blogger Tutorials
  • Browser
    • Firefox
    • Google Chrome
  • Google
  • Internet
    • Facebook
    • Twitter
  • Thesis
  • Windows
  • WordPress
    • WordPress Themes
    • WordPress Plugins
  • More
    • Linux
    • Review
    • Solutions
    • Announcements

Disqus Comments not Working in Thesis 2

DisqusMost of you must have seen me using the new Thesis 2 design on Best 2 Know and also Disqus Comments with it, but usually the Disqus comments does not properly work with Thesis 2, well it is pretty irritating that we install a new platform and try to improve everything, but the Disqus WordPress plugin unable to display Comments on the Posts or just display same comments on every posts

Well as far now I m Satisfied with the new Design and new Platform but the Disqus comments did take a time to get fixed, well the problem was actually pretty small, but I guess you might have heard it is the small things that takes time then the big things. Like that it took me sometime to fix it but it was fixed.

I even tried contacting the Disqus support thinking it was a problem from their side but it was my bad luck that they had the holiday for their support staff that day and it wasn’t going to be up for 3-4 upcoming days so I had to take the matters in my own hand, so I went in search of answer and then took the look at the source code and found out the problem was actually that thread ID was not getting Registered it used to undefined. So again went through the Plugins source code and found the solution to the problem.

Well without wasting anymore time let’s go and solve the Disqus Comment problem :

  1. Open disqus.php in the Plugin Editor
  2. Search for the below code :
    function dsq_identifier_for_post($post) {
        return $post->ID . ' ' . $post->guid;
    }

    function dsq_identifier_for_post($post) { return $post->ID . ' ' . $post->guid; }

  3. Replace the above code with the below code :
    function dsq_identifier_for_post($post) {
    global $post;
        return $post->ID . ' ' . $post->guid;
    }

    function dsq_identifier_for_post($post) { global $post; return $post->ID . ' ' . $post->guid; }

  4. Click on Update File button

I guess this might have helped you to solve the Disqus comment not working Problem you have got your comment system up and running perfectly.

I have also found an Alternative to it is Disqus Comment box for thesis 2.

If you do not have Disqus comment then I guess you should give it a try it is really good and I m currently really happy with it.

Subscribe via Email

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to print (Opens in new window) Print
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to email a link to a friend (Opens in new window) Email

Related

January 28, 2013 Ritesh Sanap Thesis Customization, WordPress Comments, Disqus, Thesis 2, wordpress

Comments

  1. secondg says

    September 20, 2013 at 5:16 am

    Thank you so much! That was an easy fix and worked right away. Appreciate you taking the time to help :)

    Mike

    Reply
    • Ritesh Sanap says

      September 20, 2013 at 9:54 am

      Well, I also had same problem as others so I thought of helping them with posting the solution to solve the problem

      Reply
  2. Rebecca {at} Preppy Panache says

    January 11, 2014 at 2:57 am

    All of a sudden my comments broke and after 12/30 they no longer show up and have the error message below. I tried your fix above, but I’ve been on thesis 2 since I started using disqus and unfortunately it didn’t help.

    Was wondering if you knew what this error meant:
    Warning: include_once(/home/preppypanahce/preppypanache.com) [function.include-once]: failed to open stream: Success in /home/preppypanahce/preppypanache.com/wp-content/themes/thesis/lib/core/skin/boxes.php on line 1968

    Warning: include_once() [function.include]: Failed opening ” for inclusion (include_path=’.:/usr/local/lib/php:/usr/local/php5/lib/pear’) in /home/preppypanahce/preppypanache.com/wp-content/themes/thesis/lib/core/skin/boxes.php on line 1968

    Reply
    • Ritesh Sanap says

      January 11, 2014 at 12:15 pm

      I would suggest to re-install your thesis 2 theme manually because it seems a file is missing or cannot be included for the theme to work., if it is still not resolved also try to re-install disqus wordpress plugin

      Reply
      • Ramesh Singh says

        February 27, 2014 at 5:11 pm

        I am also experiencing the same issue but not on all post. Tried your steps but it didn’t work.

        Reply
        • Ritesh Sanap says

          February 28, 2014 at 10:16 am

          If you can mention the link to your site, I might take a look at it.

          Reply
  3. Crabdesigns Corp says

    February 8, 2015 at 11:04 pm

    I tried all this but still not working :(

    Reply
    • Ritesh Sanap says

      February 9, 2015 at 8:27 am

      Can you please mention your website URL, I will try to take a look at source code

      Reply
      • Crabdesigns Corp says

        February 11, 2015 at 10:35 pm

        here’s an article page
        http://datahyphencom1.ipage.com/Eman/wordpress/?p=131

        Reply
        • Ritesh Sanap says

          February 11, 2015 at 11:29 pm

          From what I can see from the page source is that :
          1. you are not using Thesis 2 theme
          2. you are not using Disqus WP Plugin
          3. Check if comments are disabled

          if you are using Disqus plugin then there must be something wrong with the theme, because no disqus files and source code is there on the page

          Reply

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Post navigation

Previous Previous post: Windows 8 Shortcut Keys
Next Next post: How to watch Hulu outside US

Currently Trending

  • How to download Specific parts of YouTube videos
    How to download Specific parts of YouTube videos
  • Windows Vista CD key
    Windows Vista CD key
  • How to retrieve my Demonoid username
    How to retrieve my Demonoid username
  • How to add Logo to Thesis theme
    How to add Logo to Thesis theme
  • How to Delete Feedbacks from JetPack Contact Form
    How to Delete Feedbacks from JetPack Contact Form
  • List Of All 255 Keyboard All Alt Key Codes
    List Of All 255 Keyboard All Alt Key Codes
  • h4x0r ( Hacker ) - Blogger Template
    h4x0r ( Hacker ) - Blogger Template

Get Latest post in your Inbox

Random Posts

How to Show sidebar or widgets only on Home page or Post page

June 30, 2009 By Ritesh Sanap 6 Comments

Best SEO Plugins for wordpress

October 22, 2010 By Ritesh Sanap 2 Comments

Make Acrobat Reader Load Faster

February 29, 2008 By Ritesh Sanap Leave a Comment

Get all ElegantThemes themes for Free

June 14, 2011 By Ritesh Sanap 2 Comments

How to Insert custom content after each post

March 19, 2011 By Ritesh Sanap Leave a Comment

WordPress

HTTP2 Server Push for W3 Total Cache Minify plugin

August 17, 2016 By Ritesh Sanap 5 Comments

How to Disable Emojis in WordPress

January 6, 2016 By Ritesh Sanap Leave a Comment

JetPack Related posts and Sharing not working with NGINX

November 10, 2015 By Ritesh Sanap Leave a Comment

Simply Pure – WordPress Theme

November 2, 2014 By Ritesh Sanap 2 Comments

Advanced What should we Write about next? – WordPress Plugin

July 28, 2014 By Ritesh Sanap Leave a Comment

How to Disable Self Pingback or TrackBack

January 16, 2014 By Ritesh Sanap Leave a Comment

BlueStrap – WordPress Theme

January 1, 2014 By Ritesh Sanap 15 Comments

How to Create Multiple Excerpts in WordPress

December 24, 2013 By Ritesh Sanap Leave a Comment

How to Disable Auto Update in WordPress

November 21, 2013 By Ritesh Sanap Leave a Comment

How to Delete Feedbacks from JetPack Contact Form

November 19, 2013 By Ritesh Sanap 9 Comments

Recent Posts

  • HTTP2 Server Push for W3 Total Cache Minify plugin
  • How to show hidden files and folders in Mac OS X
  • How to Disable Emojis in WordPress
  • Canva – Online Photo Editor
  • JetPack Related posts and Sharing not working with NGINX

Archives

Recommends

  • DigitalOcean – Cloud Hosting
  • Dropbox – Cloud Storage
  • Elegant Themes – WordPress Themes
  • LastPass – Password Manager
  • Like us on Facebook
  • Follow on Twitter
  • +1 on Google
  • Subscribe via Email
  • RSS Feed

© 2025 Best 2 Know · All Rights Reserved · We ♥ DigitalOcean