Viewing 15 replies - 1 through 15 (of 17 total)
  • Moderator t-p

    (@t-p)

    try:

    -deactivating ALL plugins temporarily to narrow down and possibly fix the problem. If the problem goes away, activate them individually (one-by-one) to find the culprit.

    -switching to the default theme (“twentyten”) for a moment by renaming your current theme’s folder in wp-content/themes. The idea is to force WordPress to fall back to the default theme to rule out any theme-specific issue.

    can you give more details:

    – link to the post where the comment appears, but should not;
    – link to the post where the comment should be;

    Thread Starter delovelylou

    (@delovelylou)

    Dashboard

    – Comments
    There are three columns in the 3rd column, in Response to.
    According to that this poster placed comments here:
    http://www.breathingoutpsychedelicair.com/2011/maria_grachvogel-autumn-winter-2011/

    which is not right because she’s meaning this post:
    http://www.breathingoutpsychedelicair.com/2011/fashion-felder-felder-fall-2011-2012-collection/
    … and her comments are shown where they are meant to be

    … but why is it also posted here?
    http://www.breathingoutpsychedelicair.com/2011/fashion-givenchy-haute-couture-spring-2011/

    and here?
    http://www.breathingoutpsychedelicair.com/2011/fashion-jean-pierre-braganza-fall-2011-collection/

    … they all share the same tag

    I think this may be a code problem instead of a plugin problem. I don’t know how to go about checking where the errors are.

    Thread Starter delovelylou

    (@delovelylou)

    So I need to work through all that first?
    Is that the Appearance Editor but under which subheading? Templates or Styles? I’m not a pro at this so you have to give me a step-by-step guide as to what to do.

    thanks for the detailed info – makes it so much easier to look for the cause of the problem πŸ˜‰

    the ‘related posts’ section between the post content and the comments seems to influence which comments are shown.

    what is the code for this in your template?

    can you paste the whole code of your single.php into a http://wordpress.pastebin.com/ and post the link to it here?

    or do an untested quick trial:
    try to add a wp_reset_query(); before the comments_template(); code
    http://codex.wordpress.org/Function_Reference/wp_reset_query

    ps:
    i assume the commenter really commented on the ‘maria grachvogel’ post – the dashboard is usually right – this is also the post that comes last in the list of related posts in all the links that show the comment.

    Thread Starter delovelylou

    (@delovelylou)

    No, it’s the Felder Felder she was talking about so it must be the Felder Felder post since she even commented on the fashion sets that I made in that post.

    So I just post the link and you’ll be able to see the code?
    http://wordpress.pastebin.com/wM4Aze2v

    I set the expiriation to 1 day so I hope you actually get it in time
    Appreciate the help

    as is assumed, the code for the ‘related posts’ is using ‘query_posts()’ and is distorting the original query_string;

    try to change this section (line57++):

    <?php endwhile; ?>
                    <?php endif; ?>
                    <?php comments_template(); ?>

    to this:

    <?php endwhile; ?>
                    <?php endif; wp_reset_query(); ?>
                    <?php comments_template(); ?>
    Thread Starter delovelylou

    (@delovelylou)

    Done – thanks – but is it possible that the comments were shifted to another post than where they were originally posted?

    … and in that validator link – I don’t get the columns part in the validator but for lines is that just the css or php as well?

    The lines in the validator are the html for that page which is generated by your php. I don’t know about the columns – never need them.

    Most of the time in your browser you can view source and then match that to the line where there is a problem. Then you figure out where that error is coming from – header.php, footer.php for example. Most normally it will be coming from something you posted into a widget or post or Page, etc.

    Thread Starter delovelylou

    (@delovelylou)

    ?

    Done – thanks –

    does that mean you tried the suggestion to fix the problem, and that the comments are now going to the right post?

    but is it possible that the comments were shifted to another post than where they were originally posted?

    no

    ?

    can you give more details as to what has not been resolved since the last reply?

    Thread Starter delovelylou

    (@delovelylou)

    As in I can now post reply to the posters but they still appear on the wrong posts i.e. their comments shift

    The validator shows several errors like this, <div class="article" id="<stront3</strong>946">. Id and name attributes must begin with a letter, not a digit. Maybe this is a contributing factor.

    BTW, did you ever do what t-p suggested?

    It is hard to find an answer if the normal debug proceedures have not been done.

    Thread Starter delovelylou

    (@delovelylou)

    If I did what t-p said, and switch themes then how do I solve the problem with this theme?

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘2nd time asking: Comments posted on post, appear on another post instead’ is closed to new replies.