• elektronicat

    (@elektronicat)


    I’m having an issue with the comments.
    Every post on my blog seems to display the comments of one particular post, say post X. So below either post A, post B of post C it says (for example) ‘3 responses to post X’. The comments are perfectly added however. But when I submit a comment in either post A, B or C, they all end up being comments of post X.
    Does anybody have an idea?
    My theme is a customized SimpleCMS theme.

    I am using custom post types, but the issue appears to be affecting both custom post type posts as standard/default posts..

Viewing 4 replies - 1 through 4 (of 4 total)
  • Michael

    (@alchymyth)

    link to your site to illustrate the problem?

    is there anything in the template between the code of the post and the comments?
    any plugins?

    is it always a specific X?
    or does this change?

    Thread Starter elektronicat

    (@elektronicat)

    A link to a screenshot: https://img199.imageshack.us/i/screenshot20110215at256.png (it’s still local)

    The screenshot shows a post (Have U.N.E Pull) Then i’m displaying other post-titles, among which ‘Have U.N.E. Pull’ and ‘Projection mapping is een goeie bezigheid’ (that is Dutch;)
    And below that you see ‘3 responses to Projection mapping is een goeie bezigheid’.

    There was some code between the content and the comments (to display the titles of other posts) but after removing, it didn’t change anything to the comments.

    Activated plug-ins are All-in-one Cufon, WP-Paginate, Custom Post Type UI, Lightbox 2, Contact Form 7.

    It is always a specific post (Projection mapping is een goeie bezigheid)

    Michael

    (@alchymyth)

    It is always a specific post (Projection mapping is een goeie bezigheid)

    that is the last post of the ‘other posts’ list.

    posssibly try to add wp_reset_query(); https://codex.www.ads-software.com/Function_Reference/wp_reset_query before the comments_template(); code.

    There was some code between the content and the comments (to display the titles of other posts) but after removing, it didn’t change anything to the comments.

    to let somone have a look at your code, you could paste the code of your template into a https://wordpress.pastebin.com/ and post the link to it here.

    Thread Starter elektronicat

    (@elektronicat)

    wp_reset_query(); placed before the comments template did the trick! now the comments are being displayed by the right posts.
    thanks for your help alcymyth!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Comments being displayed of only one certain post’ is closed to new replies.