WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Trying to get rid of Comments (7 posts)

  1. oise73
    Member
    Posted 8 years ago #

    Hey there,

    The blog I am setting up is going to function without the comment feature. I have been working my way through the WordPress support posts on this issue, and have been doing what was recommended, but I still have a problem.

    If you go to http://www.sin-eater.com and click on the title of the default post, you arrive at a page where you can leave a comment. *sigh*

    So what have I done already?

    • I have removed "wp-comments-post.php"
    • I have gone into Admin > Options > Discussion > and un clicked Allow people to post comments on the article
    • I have done the folowing:
    1. In index.php, remove all this:
    <div class="feedback">
    <?php wp_link_pages(); ?>
    <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
    </div>

    <!--
    <?php trackback_rdf(); ?>
    -->

    <?php include(ABSPATH . 'wp-comments.php'); ?>

    I have mangaged to remove the links for comments, but this one last problem has me confused.

    Thanks ahead of time!

  2. oriecat
    Member
    Posted 8 years ago #

    Does your theme have a single.php? If so, you would need to delete the comment tags from there also.

  3. oise73
    Member
    Posted 8 years ago #

    Thanks for responding oriecat.

    I do have a single.php and everything that was enclosed in:
    <p class="postmetadata alt">

  4. oise73
    Member
    Posted 8 years ago #

    Hmmm... it seems that part of my reply was cut off.

    On my single.php, I removed everything between
    <p class="postmetadata alt">

  5. oise73
    Member
    Posted 8 years ago #

    Trying this again...
    <?php comments_template(); ?>

  6. skippy
    Member
    Posted 8 years ago #

    Try removing
    <?php comments_template(); ?>
    from your single.php

  7. oise73
    Member
    Posted 8 years ago #

    Bless you skippy! That was it!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.