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
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.
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 ?
Yup thats done it.
Cheers
drew3000
Member
Posted 6 years ago #
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?