• 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 WordPress comment system?

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 › Design Tips and Tricks › How to remove WordPress comment system?

This topic is: not resolved

Tagged: comments, disqus, error, Wordpress

  • This topic has 9 replies, 3 voices, and was last updated 8 years, 11 months ago by maheshone.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • March 15, 2014 at 10:14 am #95024
    maheshone
    Member

    Hi,

    I've recently migrated my blog's (http://www.minterest.org/) comment system to Disqus and it's working fine. But I've noticed that a glimpse of WordPress Comment System is shown just before Disqus.

    I asked their support team and they told me that...

    The wordpress comment system will display on your page before Disqus rendered, to change this behavior you would need to edit your WordPress theme to not show comments on the page.

    So how do I do that?


    Twitter — @maheshone
    Blog — http://www.minterest.com/
    vCard — http://www.maheshone.com/

    http://www.minterest.org/
    March 16, 2014 at 2:14 am #95101
    Pixel Frau
    Member

    Have you tried disabling comments in the Genesis settings? Genesis > Theme Settings > Comments and Trackbacks.

    March 16, 2014 at 3:18 am #95107
    maheshone
    Member

    Yes, I just tried disabling comments and trackbacks... It disabled both wordpress comment system and disqus comment system. 🙁


    Twitter — @maheshone
    Blog — http://www.minterest.com/
    vCard — http://www.maheshone.com/

    April 13, 2014 at 10:42 am #100032
    davebonds
    Member

    Try adding this to your functions.php file to remove the genesis_get_comments_template action:

    remove_action( 'genesis_after_entry', 'genesis_get_comments_template' );

    April 13, 2014 at 11:06 am #100055
    maheshone
    Member

    Thanks for the response...

    I have tried some options like that before.. and tried the code that you provided me... but it's removing the comment system as a whole... I mean it disabled WordPress comments and Disqus comments.

    Screenshot:


    Twitter — @maheshone
    Blog — http://www.minterest.com/
    vCard — http://www.maheshone.com/

    April 13, 2014 at 11:41 am #100059
    davebonds
    Member

    Looking at your site and all I'm seeing is Disqus. Not seeing what is in your screenshot or any remnants of the default WP comments.

    April 13, 2014 at 11:49 am #100060
    maheshone
    Member

    Hi,

    I added the code that you provided and it removed both disqus and wp comments.. so reversed those changes...

    You can check this:

    It's a screenshot of the page http://www.minterest.org/how-to-recover-from-google-penalties/. As you can see.. the disqus comment also shows the same comments.. but here i can see a quick glance of wp comments for a few seconds before disqus starts loading...


    Twitter — @maheshone
    Blog — http://www.minterest.com/
    vCard — http://www.maheshone.com/

    April 13, 2014 at 11:57 am #100063
    davebonds
    Member

    It sounds like Disqus requires the default WP comments to be displayed in order to display Disqus, and as they mention, it will show default WP comments while the page loads then it will be replaced with Disqus.

    You can probably hide the default comments section with CSS to prevent it from showing in the browser while the page loads:

    .entry-comments {display: none;}

    April 13, 2014 at 12:01 pm #100065
    maheshone
    Member

    Hi,

    I will try this as well.. and btw... I asked disqus team and they told me that.. removing wp-comments file from the home directory will solve the problem.. but it didn't work for me....

    And they also suggested the code to reomove comments from the theme.. and again it didnt work...

    Also, I'm using Google PageSpeed Service CDN but they told me that their service is compatible with PSS... So absolutely clueless about this issue...

    Anyways, I will try your trick and update here tomorrow.


    Twitter — @maheshone
    Blog — http://www.minterest.com/
    vCard — http://www.maheshone.com/

    April 18, 2014 at 7:33 am #101136
    maheshone
    Member

    Hi,

    Sorry for the delay... I tried that... and even that didn't work... 🙁


    Twitter — @maheshone
    Blog — http://www.minterest.com/
    vCard — http://www.maheshone.com/

  • Author
    Posts
Viewing 10 posts - 1 through 10 (of 10 total)
  • The forum ‘Design Tips and Tricks’ 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

© 2023 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