Support » Fixing WordPress » Extracting my blog’s comments feature

  • I was wondering how big a job it would be to take away the post comments feature on my blog at so that all existing comments are deleted, the feature to make a comment is no longer offered to the viewer, and the ‘comments’ thing next to the front page entrys disappears.

    Thanks for your time.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Pretty minor change to your theme files, really, to no longer even show the option. For instance, if your theme has something like this:
    <?php comments_popup_link('No Comments »', '1 Comment', '% Comments'); ?>
    delete it…

    You can, of course, delete existing comments from your Admin area (Manage – Comments).

    Thanks for the reply. I’m quite inexperienced in terms of deleting things and editing files.

    I’m guessing I would find the ‘1 comment’ or ‘no comments’ code within the index.php

    Could you suggest where I might find the code for the post template?

    Without knowing how your theme was built, hard to answer. I’d just search in index.php, page.php, single.php and anything else that catches your eye.

    To be clear: THEME files. in the theme’s directory. Not core WP files.

    Thanks very much. It was in my theme’s index.php I’ve successfully deleted the ‘number of posts’ and ‘no commnts’ thing from the front page.

    Do you think I would be best to leave the option for visitors to make comments inside the posts?

    My main concern was the small number stated on the front page, which looked like my site was dead.

    Thanks for all the tips.

    I think that’s a pretty decent compromise if you’re worried about showing comment count on the front page.

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