How to Remove "Comments are Closed" from all pages?

Discussion in 'WordPress' started by MiletNZ, Sep 23, 2010.

  1. #1
    On my Wordpress I have posts and pages - On my Pages I Disable Comments but It always comes up with "Comments are Closed" at the bottom of every page.

    Whereabouts can I go to remove this?
     
    MiletNZ, Sep 23, 2010 IP
  2. KimiGermany

    KimiGermany Peon

    Messages:
    1,117
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It should be in comment.php file of your theme file. Every theme is different, so it is hard to point which line of the code since not sure which theme you are using.
     
    KimiGermany, Sep 23, 2010 IP
  3. MiletNZ

    MiletNZ Member

    Messages:
    283
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    30
    #3
    Ah right, it seems that when it gets this late every night, I am asking for help with everything on here! I can't function so late at night and forget the simplest of tasks..

    <?php else : // this is displayed if there are no comments so far ?>
    
    	<?php if ('open' == $post->comment_status) : ?>
    		<!-- If comments are open, but there are no comments. -->
    
    	 <?php else : // comments are closed ?>
    		<!-- If comments are closed. -->
    		<p class="nocomments">Comments are closed.</p>
    
    	<?php endif; ?>
    <?php endif; ?>
    
    Code (markup):
    Can I just delete the section about comments are closed?
     
    MiletNZ, Sep 23, 2010 IP
  4. KimiGermany

    KimiGermany Peon

    Messages:
    1,117
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Try to delete the "Comments are closed". so that line will look like :

     
    KimiGermany, Sep 23, 2010 IP
  5. MiletNZ

    MiletNZ Member

    Messages:
    283
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    30
    #5
    Danke! It worked :)
     
    MiletNZ, Sep 23, 2010 IP
  6. thedark

    thedark Well-Known Member

    Messages:
    1,346
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    168
    Digital Goods:
    1
    #6
    thedark, Sep 25, 2010 IP
  7. GSGROM88

    GSGROM88 Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    thanks for help!!
     
    GSGROM88, Sep 26, 2010 IP
  8. KimiGermany

    KimiGermany Peon

    Messages:
    1,117
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Ahaha, bitte bitte schoen.. :-D
     
    KimiGermany, Sep 26, 2010 IP
  9. MiletNZ

    MiletNZ Member

    Messages:
    283
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    30
    #9
    Yup, all I know is Danke and a couple of naughty words, ha ha
     
    MiletNZ, Sep 27, 2010 IP
  10. KimiGermany

    KimiGermany Peon

    Messages:
    1,117
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #10
    ahaha. It is okay, ya, i guess that happens to almost everyone, bad words are easier to learn and to remember ;)
     
    KimiGermany, Sep 28, 2010 IP
  11. Mazekni

    Mazekni Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    in comments.php just delete : <p class="nocomments">Comments are closed.</p>
     
    Mazekni, Sep 29, 2010 IP
  12. MiletNZ

    MiletNZ Member

    Messages:
    283
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    30
    #12
    Yeah. Like the person above you already said. People like you ARE ANNOYING.
     
    MiletNZ, Sep 29, 2010 IP