how do I remove the comment section in any wordpress themes

by Jusiam
16 replies
Hi guys,

I tried searching this forum but couldn't find any thing on this topic.

how do I remove the comment section in any wordpress themes? I normally use static page setup and most of the themes have a comment section.

Is there any way to remove them? can anyone help me here?
#comment #remove #section #themes #wordpress
  • Profile picture of the author Content Publisher
    Check the settings in the admin panel. There's a way of disabling comments there (under discussion I believe?)
    Signature
    Follow me as I build my content publishing business from $0 to a full time income.

    "The harder the conflict, the more glorious the triumph. What we obtain too cheaply, we esteem too lightly; it is dearness only that gives everything its value." - Thomas Paine
    {{ DiscussionBoard.errors[4487735].message }}
  • Profile picture of the author pjCheviot
    Banned
    The Wordpress.org Support site has a great search function for this (and all thing Wordpress related)

    WordPress
    {{ DiscussionBoard.errors[4487759].message }}
  • Profile picture of the author SteveFinch
    When in your dashboard, and once you've clicked on add new page or post there'll be a checkbox you can check to disable comments. It's just below where you type the content.

    If it's not there, click on "screen options" which is at the top right of your screen, and tick the comments and discussions boxes. When you look under the content box again, you'll see the options there.

    All the best
    {{ DiscussionBoard.errors[4487772].message }}
    • Profile picture of the author TheArticlePros
      ...or, the easiest way...

      Click the Posts or Pages (whichever you're using) in the left sidebar. It'll pull up a list of the article type. If you hit the quick edit button under each article, you'll see a check box for 'allow comments.' All that you have to do is un-check the box and voila...no more comments!

      -- j
      Signature

      Posting About Life & Video Games:
      http://www.jarycu.com

      {{ DiscussionBoard.errors[4487879].message }}
      • Profile picture of the author BillyBee
        Originally Posted by JaRyCu View Post

        ...or, the easiest way...

        Click the Posts or Pages (whichever you're using) in the left sidebar. It'll pull up a list of the article type. If you hit the quick edit button under each article, you'll see a check box for 'allow comments.' All that you have to do is un-check the box and voila...no more comments!

        -- j
        This is great! I was looking for a way to do this, too.
        {{ DiscussionBoard.errors[4487931].message }}
      • Profile picture of the author Jusiam
        Originally Posted by JaRyCu View Post

        ...or, the easiest way...

        Click the Posts or Pages (whichever you're using) in the left sidebar. It'll pull up a list of the article type. If you hit the quick edit button under each article, you'll see a check box for 'allow comments.' All that you have to do is un-check the box and voila...no more comments!

        -- j
        Thanks for response guys. I just tried JaRyCu's method and it worked Awesome.
        {{ DiscussionBoard.errors[4499450].message }}
      • Profile picture of the author calfred
        Originally Posted by JaRyCu View Post

        ...or, the easiest way...

        Click the Posts or Pages (whichever you're using) in the left sidebar. It'll pull up a list of the article type. If you hit the quick edit button under each article, you'll see a check box for 'allow comments.' All that you have to do is un-check the box and voila...no more comments!

        -- j
        This is hands down the best and most concise Wordpress advice since searching for the past 1 hour. Thanks a TON Jarycu!
        Signature

        Please do not use affiliate links in signatures

        {{ DiscussionBoard.errors[5025027].message }}
  • Profile picture of the author TheArticlePros
    Glad I could help Billy!
    Signature

    Posting About Life & Video Games:
    http://www.jarycu.com

    {{ DiscussionBoard.errors[4488299].message }}
    • Profile picture of the author Magnus Koenig
      If you want to remove anything related to comments on your website so that it doesn't even show that there are no comments if comments are disallowed you can usually just edit the theme in the editor pretty easy. Just search the index.php/single.php/comments.php for "comments" and then remove the lines that display "no comments" on the website, they should be pretty self-explanatory even if you don't know a lot of html/php.
      Just always make sure you have a backup file in case anything goes wrong.
      {{ DiscussionBoard.errors[4488442].message }}
  • Profile picture of the author asc
    i actually go to the php comments section in the editor, and delete the whole code, it does appear again when i update though. Probably some of the responses here have been a bit more sensible!!

    Alan
    {{ DiscussionBoard.errors[4488428].message }}
  • Profile picture of the author trishseo
    I suggest you visit the WP forums. You'll have to go into appearance -> editor -> post.php and pages.php and remove the function that calls the comments. Then you won't have to disable comments on ever single page.
    {{ DiscussionBoard.errors[4488520].message }}
  • Profile picture of the author onlinecasinodeck
    Originally Posted by Jusiam View Post

    Hi guys,

    I tried searching this forum but couldn't find any thing on this topic.

    how do I remove the comment section in any wordpress themes? I normally use static page setup and most of the themes have a comment section.

    Is there any way to remove them? can anyone help me here?
    Got to your Wordpress dashboard

    go to writing or reading

    deselect or select comments check box then save your setting.
    Signature
    {{ DiscussionBoard.errors[4488574].message }}
  • Profile picture of the author RyanHend
    You can also delete the entire comments.php file. It works on certain themes
    {{ DiscussionBoard.errors[4488643].message }}
  • Profile picture of the author sadiecopywriter
    This is the easiest way, no programing required;

    There's a plug-in, you can download it directly form wordpress.org and it's name is "no comments" It's FREE.

    I've tried some of these other methods and it's not easy if you know nothing of programing. This plug in works with pretty much any theme and it's free.
    Signature

    Mercedes
    Need Free & Legal images for your books & blogs?
    Check out the FREE Little Black Book of Royalty Free Images.

    {{ DiscussionBoard.errors[4493182].message }}
  • Profile picture of the author Istvan Horvath
    Removing the comment section OR disabling comments are two different things - and the answers seem to treat those as the same.

    1. Disabling: as it was posted above, you can do it for the whole site or per post/Page basis from your wp-admin panel. (My personal opinion is that Page templates should not call for the comments file but even the WP devs make this mistakes in their last two default themes...)
    - this mehod will still display the "comments disabled" or some similar messages

    2. Removing: the easiest way: find any occurrences of this (and its variants)

    <?php comments_template(); ?>

    and comment it out:

    <?php // comments_template(); ?>
    (notice the two slashes = commented out)
    Signature

    {{ DiscussionBoard.errors[4499884].message }}
  • Profile picture of the author JCorp
    Simpleyput JaryCu...sometimes we overlook the tools right in front of us.
    {{ DiscussionBoard.errors[5025039].message }}

Trending Topics