Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi poisoniv. Can you give us a url to your blog so we can take a look?

    There’s no option like that that I’m aware of….

    Thread Starter poisoniv

    (@poisoniv)

    oh oops, guess that’d help a little.

    https://www.beneaththeradar.com/wordpress/

    It looks like your scrobbler plugin is throwing errors. A lot.

    Try de-activating?

    I also have this way back when messing with my Tarski theme. It appears that the real culprit is some of the widgets, so I disabled it and it’s working normally again. I’m not sure which widget though… I forgot ??

    Thread Starter poisoniv

    (@poisoniv)

    Thanks for the help everyone. Seems that it was the “recent posts” widget that was causing the problem.

    It was the recent comments widget for me also.

    This is a very ‘hacky’ workaround but nice & easy if, like me, php isn’t your strongest point.
    The problem is that the theme calls the loop, THEN the posts again for the ‘recent posts’ plugin widget. So the post that it thinks the comment relates to is the last processed by the widget instead of the loop (!!).
    My workaround runs the loop again, but invisibly. This probably causes a slightly longer load time, but nothing noticeable in my experience.

    Here’s the Main Index Template with the workaround. Replace everything in that file with this:

    <?php get_header(); ?>
    <?php include(TEMPLATEPATH . '/loop.php'); ?>
    <?php get_sidebar(); ?>
    
    <div ID = "hidden"><?php include(TEMPLATEPATH . '/loop.php'); ?></div>
    
    <?php if(is_single() || is_page()) { comments_template(); } ?>
    <?php get_footer(); ?>

    then add

    #hidden { display: none; }

    to the bottom of the style.css file.

    It’s clumsy, but easy. And it works! That way you can have recent posts & comments!

    now…if i can just workout how to get the comments form under the post instead of at the bottom of the sidebar it’ll be a perfect theme.

    sorry..that code should have read:

    <?php get_header(); ?>
    <?php include(TEMPLATEPATH . '/loop.php'); ?>
    <?php get_sidebar(); ?>
    <div ID = "hidden"><?php include(TEMPLATEPATH . '/loop.php'); ?></div>
    <?php if(is_single() || is_page()) { comments_template(); } ?>
    <?php get_footer(); ?>

    no-one’s reading this dead topic anyway!

    I just switched to the Tarski theme, then found that this error is happening to me, too. The comments do not get filed under the appropriate post.

    Now that I’ve removed Recent Posts from my main widget, the comments since the time that I changed themes seem to have disappeared. Any clues?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Comments not showing up on right posts’ is closed to new replies.