• The comments are still there in the Admin area but they are no longer being displayed on the blog.

    I turned off all plugins to see if one of them was causing it but still no comments.

    It worked fine before, and I didn’t change the theme. I had commented out a function call to comments on pages.php to get rid of the “Sorry, no comments” but when I reversed that, I got that “Sorry no comments” again on the home page but still no comments on the blog.

    I was notified of a new comment tonight, so that seems to be working.

    I did have to restore the site to a couple of days ago, so I’m wondering if something happened there.

    What else can I try? Thanks a lot!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi Chris

    Are you talking about comments not showing up in single blog entries?
    Please make sure you have something like

    <?php comments_template(”, true); ?>

    somewhere in the file single.php file.

    Thread Starter cchris

    (@cchris)

    Thanks for your suggestion, sidgoyal1.

    And yes, I am talking about no comments being displayed on the single blog entries. The form to post new comments is there and seems to work as I received a new comment.

    I put that line

    <?php comments_template(”, true); ?>

    into the single.php file. I tried different locations for that line, like before the footer call, in the middle at what seemed appropriate places, even close to the top but still no comments are being displayed.

    Does that line have to be at a specific location? I’m using the suffusion theme.

    Thanks for your help!!

    You should avoid touching core theme files under any circumstances. Most of Suffusion can be configured using its options, and the rest could be tackled using a child theme. Simply put, the change you made to delete/comment a line in page.php was not required, because there are options for that (Back-End Settings → Comment Settings).

    You don’t need to put in a line for comments_template, because that is very much included in the theme. The single.php file has it near the end, just above this line:
    </div><!--/post -->

    Can you tell me what the exact message is that you are seeing? There are different messages possible, which could each mean different themes. Are you seeing “Sorry, the comment form is closed at this time”? I ask because Suffusion doesn’t have any message that says “Sorry, no comments”: if your post has no comments it will simply display the comment form without telling you how many comments are there. You can see an example here. If there are comments then the number of comments is displayed with the list below it.

    So, either you have changed more than what you have rolled back, or you have a plugin that is interfering with the comments.

    Thread Starter cchris

    (@cchris)

    Hi Sayontan,

    Thanks so much for your answer! I’m actually sure it doesn’t have anything to do with Suffusion. To make sure I hadn’t accidentally messed something up, I completely uninstalled Suffusion, went to the WordPress theme (where I had the same problem) and reinstalled Suffusion.

    At this point I’m going to deactivate and uninstall the plugins and if that doesn’t solve it, I’ll re-install WordPress and then slowly re-install the plugins to see if that functionality breaks again somewhere.

    Thanks again to everyone!

    Chris

    I had this problem too cchris and found it was an issue with the permalinks. I had tried to use a custom structure that I found is not recommended. Go to Settings > Permalinks and use one of the standard structure options.

    Thread Starter cchris

    (@cchris)

    Thanks for the permalinks tip but unfortunately that didn’t fix it. I actually re-installed WordPress today, just to find out that my hosting service doesn’t really get rid of anything. So after the installation, I’ve still got the same problem. I’ll probably try again but then I’ll delete everything that’s on the server to make sure I get a clean install.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Comments disappeared on blog pages’ is closed to new replies.