Removing Comments

Community Forums Forums Design Tips and Tricks Removing Comments

This topic is: resolved

Tagged: ,

This topic contains 2 replies, has 2 voices, and was last updated by  ellenstevens 1 year, 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #18390

    ellenstevens
    Participant
    Post count: 32

    Using Outreach:

    I’m having trouble disabling/removing comments from pages & posts.  Within Genesis Theme Settings, neither comments or trackbacks are enabled.  Within the Page settings, there is no option to disable the comments.

    How do I change the functions code to do this?

    http://www.sanctuaryak.org

     

    #18402

    braddalton
    Participant
    Post count: 7467

    You can disable the comments in the Discussion Settings under Default Article Settings

    Allow people to post comments on new articles

    And also add this code to your child themes functions.php if you want to remove the comments form.

    remove_action( 'genesis_after_post', 'genesis_get_comments_template' );
    

    WordPress Developer & Consultant
    Brad Dalton400+ StudioPress Tutorials & 1200+ Code snippets

    #18462

    ellenstevens
    Participant
    Post count: 32

    Thank you!  The tutorials didn’t seem to work, but the code was perfect.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.