How to remove "Comments are closed" text
  • cbavotacbavota November 2010

    If you don't want to have your comments displayed on certain posts or pages, you will usually see some text that states that "Comments are Closed". If you wish to remove this text, open up comments.php and look for this line.

    42
    43
    44
    45
    46
    47
    48
    <?php if ( comments_open() ) : // If comments are open, but there are no comments ?>
     
    <?php else : // if comments are closed ?>
     
    <p class="nocomments"><?php _e( 'Comments are closed.', 'magazine-basic' ); ?></p>
     
    <?php endif; ?>


    You can delete the whole code snippet or just the paragraph tag that contains the text.

  • IgorMIgorM November 2010

    Hi, I try to use Magazine Basic, to see how it works. It looks very nice. I just want pages to be less blog like. One newbie's question: could your be more specific about comments.php? How do I get there?

    Thank you in advance.

  • cbavotacbavota November 2010

    The comments.php file is located in the theme directory. If you go to your wp-admin, under your Appearance panel is a Editor link. That is where you can edit some files. But be careful, if you mess something up, it can lock you out. That's why it is usually best to use something like TextWrangler (Mac) just in case.

  • IgorMIgorM November 2010

    It worked perfectly. Thank you. Beautiful theme and very good support! I have another question that I will ask separately, but once I finish to play with Basic, I will definitely think about Premium.

  • ericboydericboyd November 2010

    I do not see this option in the newest Magazine Premium. Am I missing something?

  • cbavotacbavota November 2010

    @ericboyd It was removed in version 1.1.3.

Hey there!

Take a look around, and if you would like to add a comment or start a discussion, register by clicking on the button below.

Register

Categories

In this Discussion

Tagged