Support » Fixing WordPress » Comments only show when Sidebar is disabled(?)

  • Resolved Arlo


    My site has had a strange problem that I just noticed; on the single post page, comments don’t display, even though it says “1 comment”. But– if I remove the sidebar (commenting out get_sidebar();), the comments suddenly appear? What kind of bizarro situation would cause this? I do NOT have a “single.php”; it’s pulling the single view using the index template– however, the same thing happens when I do create a single.php.

    The comments appear correctly when I switch to another theme.

    I searched around, and nearest I saw was people having problems getting sidebars on single/comment pages in Kubrick…but this is the opposite situation.


Viewing 6 replies - 1 through 6 (of 6 total)
  • Is this on the site you have linked to your username? Because I can see comments there?

    Sorry nope; my personal site

    Ahh ok. Yup, that’s weird. What theme are you using, or is it something you made yourself?

    I think it started life as the “classic” theme, but heavily modified of course.

    I have no weird plug-ins, I looked over the code, there are no differences in terms of calling comments.php..its very odd.

    Ok- I narrowed it down to my random image hack I have for pulling photos from my Coppermine gallery; why this would fry comments is beyond me. This is the code, maybe someone can figger out why:

    < ? php
    include "./cpmfetch/coppermine.php";
    $objCpm = new cpm("/coppermine");

    OK, fixed; upgrading to latest cpmfetch fixed it. Peace!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Comments only show when Sidebar is disabled(?)’ is closed to new replies.