Archived topic
remove comment entirely from site wide
6 replies · Started by Chris on November 3, 2022
Hi,
I don't want the comment box to appear at the bottom of my posts/pages. How can I disable it?
I've disabled it at the backend but it's still showing up, see here - https://imgur.com/a/Aq3GruY
Hi Chris,
You may refer to this article for assistance with regards to this: https://docs.generatepress.com/article/removing-comments/
It didn't work. I have 800 pages, I can't be going through each of them. My previous theme (neve) has the option to disable comments.
Do you have any CSS code that I can achieve this? I don't want to install any plugins.
Yes, we can hide is through custom CSS.
Try adding this in Appearance > Customize > Additional CSS:
.single-post .comments-area {
display: none;
}
Added the code and cleared the cache - still the same. Image - https://imgur.com/a/rVrDkHo
it works now
You're welcome Chris!