• Resolved SouthernGypsies

    (@southerngypsies)


    Hi all

    I have turned off the comments function in settings / discussion, but the comments fields are still showing on my pages.

    How do hide the comment function via my theme?

    I am using Glades theme.

    Thanks in advance

    🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • CrouchingBruin

    (@crouchingbruin)

    When posting a question, please include a link to your site. It makes it easier to see what problems you might have, plus we can see if you have created a child theme or installed certain plugins.

    The easiest way to to hide the comments section is using CSS. If you’ve created a child theme, then you want to copy & paste the rule below into your child theme’s style.css file. Otherwise, use a CSS plugin like Jetpack or Custom CSS Manager. You don’t want to modify any of the theme files directly.

    #comments {
      display: none;
    }

    Thread Starter SouthernGypsies

    (@southerngypsies)

    Thank you 🙂

    my site is http://www.peninsulahorse.com.au

    CrouchingBruin

    (@crouchingbruin)

    It doesn’t look like you have a child theme, so use a CSS plugin and copy in the rule that I posted above. That will hide comments from all of your posts & pages. Actually, use this modified rule instead:

    #comments,
    .postmeta .meta-comments {
      display: none;
    }

    This will also hide the phrase # comments that you might see in what is known as the “meta” section of a post or page.

    Thread Starter SouthernGypsies

    (@southerngypsies)

    Thanks very much for your help, I will give all that a go.

    Really appreciate your quick reply 🙂

    Thread Starter SouthernGypsies

    (@southerngypsies)

    Thanks again 🙂

    it worked.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘How do I remove comments function from Glades theme?’ is closed to new replies.