[Support request] Is there a way to disable comments on all posts?

Home Forums Support Is there a way to disable comments on all posts?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #450131
    Samuel

    The title says it all. I have comments turned off in WordPress settings and in the past themes I used either followed that setting or had a setting to disable posting comments on all pages and posts. In my case I found GP showing the comments area on an old post. For now, I put in a bit of css to hide the .comments-area div. However, if there a hook or something I could use so that the comments information isn’t even generated on the page?

    GeneratePress 2.0.1
    #450339
    Leo
    Staff
    Customer Support

    Hi there,

    That is handled by WordPress.

    I assume you mean the existing posts are still showing comments?

    You will need to go to Posts/Pages lists in your dashboard, hover the title and click quick edit, then uncheck Allow Comments.

    Let me know if this is what you mean.

    #450389
    Samuel

    Yes, apparently old posts are showing comments. Years ago I had comments enabled before turning them off in the last few years. So basically GeneratePress shows comments no matter what if they were enabled on the post in the past?

    #450399
    Leo
    Staff
    Customer Support

    Again GP does not handle this part, it’s WordPress.

    Have you tried my suggestion? (quick edit > uncheck allow comments). That’s what you have to do for old posts (posts that created BEFORE you turn off comments in settings).

    #450410
    Samuel

    I understand how to turn off comments, but I have a lot of old posts so for now I will disable the section via css.

    #450436
    Leo
    Staff
    Customer Support

    You can use Bulk Action > Edit to do it at once.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.