WordPress.org

Ready to get started?Download WordPress

Forums

Remove comments from which template? (5 posts)

  1. Kerim
    Member
    Posted 10 years ago #

    I have comments disabled, and I would like to also remove all references to comments in the template. I was able to remove the comments from the template in index.php, but when I click on an individual post there are still sections informing me that comments are not allowed. Which file do I have to edit to remove these?

  2. carthik
    Member
    Posted 10 years ago #

    The individual posts are also index.php files with a parameter...for example http://yourdomain.com/?p=200214
    Does that help?
    SO if you have removed all references from the index.php page, then you should be done.

  3. Kerim
    Member
    Posted 10 years ago #

    Well, my attempts to use code tags seem to have failed - you'll just have to believe me that everything else is commented out. I guess comment tags supercede the "code" tags...

  4. Kerim
    Member
    Posted 10 years ago #

    OK - I figured it out. Somehow the comments tags weren't parsing right. I deleted the sections instead of commenting them out and it worked fine!
    The givaway was the fact that a closing comment tag "-->" appeared in the web page!

  5. journalistic
    Member
    Posted 9 years ago #

    what did you edit to remove references to comment on a blog entry? and which file did you need to edit?

    thanks

    Leslie

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.