Just add this CSS to the end of your child theme style.css file:
.comments-link {
display: none;
}
Note that this will also hide all “leave a reply” links on the blog/home page. If you just want to hide it on individual post pages, then add .single at the front:
.single .comments-link {
display: none;
}
Strange. I tried your first suggestion and it did nothing.
Here’s my site if you wanna check out the CSS.
I took a look under Chrome and Firefox and the “Leave a Reply” link under the post titles are gone, maybe you need to clear your browser cache. Or maybe I mis-understood which link you were trying to get rid of.
I’m using IE at the moment (not by choice). Will this fix not work for IE users?
Nope, I was wrong. It does work for IE after clearing the cache. Thanks!
(@nicholascarrigg)
10 years, 4 months ago
I still want comments on the posts, but I don’t want the “Leave A Reply” link that appears above the post. Most people will just scroll to the bottom in my opinion.
How can I accomplish this? Do I need to copy comments.php into my child theme or is it achieved in the functions.php of my child?
Thanks in advance.