• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How to remove Comment Form only from all posts ?

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › How to remove Comment Form only from all posts ?

This topic is: not resolved

Tagged: comment form

  • This topic has 7 replies, 3 voices, and was last updated 9 years ago by A.Chakery.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • June 26, 2016 at 6:21 pm #188346
    A.Chakery
    Participant

    Hello,

    Recently I added a forum to my website so I no longer want people to be able to post comments on my site's articles (new and old posts) , so would you please tell me that how can I remove the comment form globally ?

    Oh and please note that I want to keep the old comments ...

    Thank you very much.

    June 27, 2016 at 1:40 am #188358
    Brad Dalton
    Participant

    Check the Genesis > Theme Settings otherwise you can use code in your functions file.


    Tutorials for StudioPress Themes.

    June 27, 2016 at 4:06 am #188366
    A.Chakery
    Participant

    Thank youbfor your reply,

    I dont want to disable comments since there are many comments from past which I need to keep them.

    Would you please tell me which function code I should use ?

    June 27, 2016 at 6:32 am #188370
    Brad Dalton
    Participant

    Link to your site please.


    Tutorials for StudioPress Themes.

    June 27, 2016 at 6:33 am #188371
    A.Chakery
    Participant
    This reply has been marked as private.
    June 27, 2016 at 7:01 am #188373
    Genesis Developer
    Member

    We can't see the private message. Just drop this line in your functions.php file. It will just remove the comment form.

    remove_action( 'genesis_comment_form', 'genesis_do_comment_form' );


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    June 27, 2016 at 11:35 am #188397
    A.Chakery
    Participant

    Oh sorry, This is my site : v3t.us

    Thank you very much...

    June 30, 2016 at 7:55 am #188654
    A.Chakery
    Participant

    Now I noticed another thing, There is also a link in existing comment saying : "Login To Reply" ...

    Would you please tell me how can I remove that too ?

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble