The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

wp-comments.php displays on main page! (3 posts)

  1. abrazell
    Posted 11 years ago #

    I realize that permalink pages and the main index page use the same file.
    What I don't understand is why after upgrading from 1.3a2 to 1.3a5, and using the same files, suddenly the inclusion of the wp-comments file is on every entry on the main page (www.technosailor.com to see my point). Obviously, it should display when the page is called as a permalink, but otherwise, it shouldn't.
    Please help.

  2. Mark (podz)
    Support Maven
    Posted 11 years ago #

    Did you change your index properly ?
    find this line in index.php
    <?php include(ABSPATH . 'wp-comments.php'); ?>
    That line has to go. If it doesn't, your comments form will show under every post, so, delete that line, and replace it with this
    <?php comments_template(); // Get wp-comments.php template ?>

  3. abrazell
    Posted 11 years ago #

    Ahhhh. I did not realize that. That fixed it...

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.