• Resolved mortimerjazz

    (@mortimerjazz)


    Hi there,

    On a couple of my static pages I’ve decided not to allow people to leave their comments. Which means at the bottom of each page, I have the text “Comments are closed.”

    Is there any way to get rid of this please?

    Thanks,

Viewing 3 replies - 1 through 3 (of 3 total)
  • If your theme is using the template tag, comments_popup_link, check the last parameter that displays a message when comments are closed.

    I got rid of it by looking for this piece of code in the comment php `<?php else : // Comments are closed ?>
    <p id=”comments-closed”>Sorry, comments for this entry are closed at this time.</p>`

    and simply removing the bolded part

    Another option is to create a custom Page template which duplicates the default template for your Pages but does not have the comments_template() tag. Then assign that template to Pages you do not want comments on.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Getting rid of the “Comments are closed” text’ is closed to new replies.