WordPress.org

Ready to get started?Download WordPress

Forums

Modifying comments.php doesn't work on theme (6 posts)

  1. anabelle
    Member
    Posted 6 years ago #

    Hi, i've modified WP themes for long time but today i'm having trouble with a new theme.

    In it's folder there is a comments.php file but when i modify it nothing happens in the blog itself. it keeps showing the comments with i don't know wich template.

    Ive looked the comments.php in /default but it doesn't match the way the comments are being displayed, i don't know what may be wrong.

    Can you pleas help.

  2. anabelle
    Member
    Posted 6 years ago #

    Ok i cant find out what's wrong so im using

    '<?php include (TEMPLATEPATH . '/comments.php'); ?>'

    instead of

    '<?php comments_template(); ?>'

    and now it uses the correct file and displays the comment form but it doesn't show me the comments already made.

    What can i do?

  3. idycommunity
    Member
    Posted 6 years ago #

    Did you ever get this fixed properly? I'm having the same problem.

  4. anabelle
    Member
    Posted 6 years ago #

    Yes, it actually was with a plugin. I cant remember wich exactli but I think it was the "paged comments" one.

    It had its own comments template.

    let me know if its the same for you.

  5. idycommunity
    Member
    Posted 6 years ago #

    Can't find it.

  6. anabelle
    Member
    Posted 6 years ago #

    check with any comments related plugin you have...

    also try checking thatyour style.css is well recognized by WP, whe i has this problem I also had a problem with my CSS encoding. (it came from a Mac)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.