• can some one help me in removing the option of COMMENTS ( i dont mean , disabling it..I mean that when i write something, no one should see the option or have any permission to comment on it.Please help me about it.
    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • At all ? Forever ?

    Delete
    <?php comments_template(); ?>
    from index.php
    Delete the file wp-comments.php and wp-commentspopup.php (if you have it)
    In Options, check the box about people being allowed to comment.

    Thread Starter itssami

    (@itssami)

    Hey..
    My index.php file contains only the following text :

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

    What about it now?

    Check the index.php in your theme’s directory instead.

    (/blog/wp-content/themes/yourThemeName/)

    Thread Starter itssami

    (@itssami)

    Well , and it works , (i.e. user cant comment ) but still, when i write some post, then it shows ” Comments (0)”
    Is there anyway that i could remove this also ?

    Look again, at your theme’s index.php page. Towards the end of the loop, you’ll see some code related to comments. You might wish to remove it (make a backup of the file first!) or comment that out.

    Similarily, you’ll probably need to do similar in page.php.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to disable COMMENTS ?’ is closed to new replies.