I'm creating a web site for a non-profit using WordPress. I know some CSS (and can figure out most of the basics), but I'm using a child theme based on Twenty Ten and one stupid small thing is bugging me: I've turned comments off for posts and pages that don't need them, but I still get the "comments are closed" message. How do I make it go away?
I tried a CSS fix (doing a nocomments class display none, which didn't work), I googled and found lots of outdated potential solutions.
This one seems closest to what might work, but the code has clearly evolved, and trying that one doesn't seem to help either.
I know that function shows up in comments.php, and I found some examples of how to modify that file, but my understanding is that you shouldn't modify parent theme files directly, but use templating
to somehow call your modified version of the file. But it's not clear how I do this.
Is there something I put into my functions.php file to call the modified version of comments.php that I put into my child theme directory? Or do I edit it from Appearances > Edit > Comments like in that example above?
tl:dr = I want to hide "comments are closed" for posts and pages where comments are disabled, but not strike them from where they are in use. How do I do this without going insane?
I'm hoping someone out there can help me!
posted by backwards guitar at 7:46 PM on September 2, 2012 [1 favorite]