• Resolved Arlo

    (@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.

    Ideas?

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?

    Thread Starter Arlo

    (@arlo)

    Sorry nope; my personal site https://www.dalahus.com

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

    Thread Starter Arlo

    (@arlo)

    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.

    Thread Starter Arlo

    (@arlo)

    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");
    $objCpm->cpm_viewRandomMediaFrom(1,1,"cat=3,4");
    $objCpm->cpm_close();
    ?>

    Thread Starter Arlo

    (@arlo)

    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.