WebTrickz
TRENDING
  • How to Turn Off and Restart iPhone 15
No Result
View All Result
  • Reviews
  • Editorials
  • Social Media
    • Facebook
    • Twitter
    • YouTube
    • Messenger
    • Instagram
    • Snapchat
    • WhatsApp
    • TikTok
  • Apps
  • How To’s
  • Apple
  • iPhone
  • Google
  • Android
  • Mac
  • Security
  • About Us
    • About Us
    • Contact Us
    • Privacy Policy
  • Reviews
  • Editorials
  • Social Media
    • Facebook
    • Twitter
    • YouTube
    • Messenger
    • Instagram
    • Snapchat
    • WhatsApp
    • TikTok
  • Apps
  • How To’s
  • Apple
  • iPhone
  • Google
  • Android
  • Mac
  • Security
  • About Us
    • About Us
    • Contact Us
    • Privacy Policy
No Result
View All Result
WebTrickz
No Result
View All Result
Home Blogging

Fix – Comments not showing in Thesis theme after WordPress 4.0 Upgrade

Mayur Agarwal by Mayur Agarwal
February 20, 2024
in Blogging, Tips 'n' Tricks

A month ago, WordPress Version 4.0 “Benny” was released for the public with several enhancements and bug fixes. Though the new WP release went smooth, the new update caused a few problems for WordPress users running the older version of the Thesis theme. The issue is happening with Thesis 1.8.5 and older versions of Thesis earlier than v1.8.5, that aren’t compatible with WordPress 4.0. As a result of this, Thesis 1.x users might notice 500 Server Error and “Comments not appearing in posts” after upgrading to WordPress 4.0.

A similar issue occurred on our site, where readers were able to make comments but the comments weren’t actually showing up in any posts and one could only see the number of comments counter. Well, we fixed this finally and it was pretty easy! I’m sharing this as it could be useful for other Thesis theme users who’re facing the same issue for a month.

16-09-2014 12-51-10

DIYthemes has released a patch to fix this problem by releasing Thesis 1.8.6 update with full WordPress 4.0 compatibility. However, you need to have a DIY Themes account in order to download the update and see the instructions to update from version 1.x to 1.8.6. Well, you can even fix the highlighted issue simply by following the simple instruction stated below. The fix instructions reported here are derived from the Thesis support forum.

Note: We have tried it on Thesis 1.8.4 + WordPress 4.0. If you have an older Thesis version prior to v1.8.5 then you must first update the Thesis to v1.8.5. Somehow, if you can’t update Thesis, then make sure to take a backup of the comments.php file first and then try the below trick.

NOTE: You must be using version 1.8.5 before deploying this fix; if you’re still using an outdated 1.x version, then you must update Thesis first.

1. Using FTP, navigate to the /wp-content/themes/thesis_185/lib/classes/ folder on your server.

2. Edit the comments.php file in the classes folder at line 187, instead of

$wp_query->comments_by_type = &separate_comments($wp_query->comments);
$_comments = $wp_query->comments_by_type['comment'];

you now write

$wp_query->comments_by_type = separate_comments($wp_query->comments);
$_comments = &$wp_query->comments_by_type['comment'];

The only change is moving the “&” to the $_comments-variable really but that seems to cause the 500 internal server errors.

Once you’ve followed these steps, check to see if your comments are now being displayed correctly.

Fortunately, the above-quoted trick worked like a charm for us, and comments started appearing again just like before. Let us know if it works for you. 🙂

Tip via @leanderbraunschweig [WordPress Support]

Tags: BloggingTricksUpdateWordPress
ShareTweetSend
Previous Post

How to Root Samsung Galaxy Note 4 with CF-Auto-Root by Chainfire

Next Post

How to Enable On-Screen buttons on Mi 3, Redmi 1S and Redmi Note

Mayur Agarwal

Mayur Agarwal

Mayur Agarwal, the founder and editor of WebTrickz, is a tech enthusiast with a Bachelor's degree in Computer Applications and over a decade of writing experience. His passion for technology and gadgets inspires him to create insightful How To's and troubleshooting guides.

Next Post

How to Enable On-Screen buttons on Mi 3, Redmi 1S and Redmi Note

Comments 10

  1. Garreth Wilcock says:
    10 years ago

    I’m having the same issue with missing comments on my homesAtMueller site and I tried your fix to no avail 🙁

    Reply
  2. Usman Ali says:
    10 years ago

    Works Like a Charm. Thanks for the great tip. Because it was a big headache for me, as the comments were not appearing. 🙂 Thanks A Lot. 🙂

    Reply
  3. Giri says:
    10 years ago

    I am using thesis 1.8.4. but the suggested fix worked for me. Thanks a lot

    Reply
  4. maria says:
    10 years ago

    Thank you so much – this worked for me!!!

    Reply
  5. Ruth says:
    10 years ago

    Wow! Thank you. I\’m SO grateful. Fabulous step by step instructions.

    Reply
  6. Janette says:
    10 years ago

    It worked…thank you. I am using Thesis 1.8.1 and had trouble finding the file to replace the code but found it for my older version in wp-content/themes/thesis/lib/classes/comments.php.
    Thanks so much!

    Reply
  7. Scott says:
    10 years ago

    Thanks very much for documenting this fix. One of our web hosting customers was having this exact problem, and your fix was super easy to implement.

    Reply
  8. techsparks says:
    10 years ago

    Every one is scared when it is the time to submit your thesis but if you find a right guide who can guide you through right path than it becomes an easy job to accomplish . We promise to provide you best level thesis help for your thesis work.For more imformation visit our site : http://www.techsparks.co.in

    Reply
  9. Michael says:
    10 years ago

    This change did make the comments visible to visitors, however when trying to log into our site as administrator I was greeted with a warning you can not modify this file. I should have copied the exact wording but I did not. Unable to log into the site, I have restored the comments.php file to its original code. I can again log into the site but have of course lost the comments. Anyone have this result? What did I miss?

    Reply
  10. Marie N says:
    9 years ago

    Mayur, you are nothing short of a life saver! I have been trying to fix this for a loooonggggg time, and was beginning to hit my head on a wall that I’ll probably have to redo my blog.

    I am using 1.8.1 and it still work, yeaaaahhh!!!

    Thanks soooo verrryyyy much! You did not have to share, but you did, and we are grateful 🙂

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Latest Stories

ios 18

iOS 18: How to Add Screen Record to Control Center on iPhone

March 30, 2025
ios photos logo

iOS 18: How to Clear Recently Viewed Photos on iPhone

December 27, 2024
ios photos logo

How to Find Your Favorite Photos in iOS 18 on iPhone

December 30, 2024
ios 18

How to Reset Control Center to Default in iOS 18.1 on iPhone

April 2, 2025
iphone 16 pro max always-on display

How to Turn Off Always-On Display on iPhone 16 Pro & 16 Pro Max

November 11, 2024
ios 18

How to Find Recently Deleted Photos in iOS 18 on iPhone

December 30, 2024
apple iphone 16 pro

How to Close Apps on iPhone 16, 16 Pro, and 16 Pro Max

October 22, 2024

Trending Stories

  • Apple iphone 16

    How to Turn Off and Restart iPhone 16, 16 Pro, and 16 Pro Max

  • How to Put Your iPhone 16 on Vibrate or Silent Mode

  • How to Turn Off & Restart iPhone 15, 15 Pro, and 15 Pro Max

  • How to Turn Off Most Relevant Comments on Facebook

  • 4 Ways to Remove the Floating Home Button on iPhone

  • About Us
  • Contact Us
  • Privacy Policy
  • Advertise

© 2025 WebTrickz. All Rights Reserved.

No Result
View All Result
  • Reviews
  • Apps
  • How To’s
  • Android
  • Google
  • iPhone
  • Mac
  • About Us
  • Contact Us
  • Privacy Policy

© 2025 WebTrickz. All Rights Reserved.