How to delete Comment form in Wordpress

Discussion in 'WordPress' started by upshurcreative, Jul 4, 2010.

  1. #1
    Can anyone tell me how to do this?

    This is my site: www.yourseoauthority.com
    I'm trying to delete the comment form at the bottom of page.
     
    upshurcreative, Jul 4, 2010 IP
  2. zhoom

    zhoom Peon

    Messages:
    388
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    To set comments off as the default for all new posts go to settings in the left side menu > discussion > uncheck the "Allow people to post comments on new articles " box. You can override this for individual pages if necessary.

    If you have pages that already allow comments you will need to individually disable comments by going to your page/post > scroll down to the discussion heading > uncheck the box that says "allow comments".

    That should do it...
     
    zhoom, Jul 4, 2010 IP
  3. bhuthecoder

    bhuthecoder Member

    Messages:
    245
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    43
    #3
    open single.php file (located in ur theme folder)
    and delete this code
    <?php comments_template(); ?>
    Code (markup):
    line number 64
     
    bhuthecoder, Jul 4, 2010 IP
  4. secci

    secci Peon

    Messages:
    80
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    zhoom's way of doing it is the better of the two... as it is easily reversible, and wont change if you update/change your theme..
     
    secci, Jul 5, 2010 IP
  5. Sweely

    Sweely Well-Known Member

    Messages:
    1,467
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    165
    #5
    True. I once removed my comment form by removing some code and then couldn't get it back. Pretty awesome.
     
    Sweely, Jul 5, 2010 IP
  6. JPMiddleton

    JPMiddleton Well-Known Member

    Messages:
    1,728
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    115
    #6
    Apologies for bringing up an old thread, but does anyone know if this can still be done in the latest WP version? When I am on a post/page I can't find the discussion settings. I have a number of pages I want to turn the comments off for, but keep it for blogs.
     
    JPMiddleton, Aug 3, 2011 IP
  7. cthurman79

    cthurman79 Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    you could just open your comment.php file and delete the code in it.
     
    cthurman79, Aug 3, 2011 IP
  8. JPMiddleton

    JPMiddleton Well-Known Member

    Messages:
    1,728
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    115
    #8
    I want to keep it for some, but not for all though, so that won't work.
     
    JPMiddleton, Aug 3, 2011 IP
  9. mightiest

    mightiest Member

    Messages:
    125
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #9
    When you write or edit a post, under the post field there's tab called Discussion, just uncheck the "Allow comments".
     
    mightiest, Aug 4, 2011 IP