• Quick question

    Could someone please tell me how to remove the comments feature, not comments people have made, but the actual feature of allowig comments. I have tuned it off but I wish to totally remove it from my blog. Is there an easy way without going into all the style sheets and php?

    Regards,
    Ross

Viewing 5 replies - 1 through 5 (of 5 total)
  • Chop all this out of index.php
    <div class="feedback">
    <?php wp_link_pages(); ?>
    <?php comments_popup_link(__('0 Comments'), __('1 Comments'), __('% Comments')); ?>
    </div>
    <!--
    <?php trackback_rdf(); ?>
    -->
    </div>
    <?php comments_template(); // Get wp-comments.php template ?>

    Then delete the files at root with ‘comments’ in them.

    That should do the trick.

    Thread Starter ssor

    (@ssor)

    Thanks, I tried that but for some reason it removed all the background to the posts and the sidebar?

    Hmm.. that’s a structural error I guess, so maybe that last </div> shouldn’t have come out. Try popping it back in ?

    Thread Starter ssor

    (@ssor)

    Yup thats done it.

    Cheers

    I don’t see any of those in index.php. Index.php in the theme folder just says get this and this and this. Index.php in the httpdocs just says:

    <?php
    /* Short and sweet */
    define(‘WP_USE_THEMES’, true);
    require(‘./wp-blog-header.php’);
    ?>

    Which index.php has that code you’re talking about?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Removing comments feature’ is closed to new replies.