WordPress.org

Ready to get started?Download WordPress

Forums

[Theme: Hatch] Comments are closed (3 posts)

  1. CaptainAskew
    Member
    Posted 1 year ago #

    Hi everyone!

    Been roaming through the editor trying to find out what piece of code to remove so I don't get the giant "Comments are closed" text at the bottom of every page. No luck.

    Been looking through the forum here and on other places around the web, but can't find a solution.

    Someone help this beginner at wordpress?

  2. You could just hide that text with custom CSS.

    The hatch theme has a class in the <p> tag which you can use as so:

    .comments-closed {
    display:none;
    }

    I haven't tested this out, but if should work. Otherwise, that content can be found in the comments.php template. You can modify that template if you wish or make the change in your child theme which is safer.

  3. CaptainAskew
    Member
    Posted 1 year ago #

    Thanks for the quick reply, Christine!

    I tried putting your code in my custom css, but the "comments are closed" remain. No luck with changing any code in the comments section or comments.php

    I can't locate the problem. It's still there even if there's no code at all in the comment code editor.

Topic Closed

This topic has been closed to new replies.

About this Topic