WEBFI-WordPress-How to Completely Disable Comments in WordPress

visible, click the three ellipses in the top right, go to Options, and ensure the discussion is checked in the window that appears.

While the above method is good for single posts or pages. If you have multiple posts and pages you want to retroactively disable comments on there is another method. Go to All Pages or Posts depending on which you want to edit, click the checkbox next to title to select all of the posts that are listed, click the bulk action dropdown and move it to Edit and click Apply. It will bring up an edit section where you can bulk edit the settings and we will change the comments to Do not allow.

This does not remove comments on already posted content, to remove this you will want to go to the Comments section of your admin area. Here you will be able to click the box next to author to select all of the comments on the page for removal. If you want more comments to display, go to the Screen Options area in the top right to increase the number of comments loaded per page.

This handles almost every location to place a comment on your site but there is one final location. If you go directly to the URL of an image you will see that the image gives the option to add a comment there. You can either add code manually or add a plugin, we will cover both methods.

Ti manually adding the code you would want to go under Appearance, Theme Editor, and if there is a warning click the I understand button. Select the file called Theme Functions or functions.php and scroll to the bottom of the file. Paste in the code from our article and click the update file button, for where to find the code you would go here:

Should you not feel comfortable copying and pasting code into your WordPress theme you can install and activate the Disable Comments plugin found here:

This will add a new menu item under Settings titled Disable Comments for you to go to the settings. The plugin gives the option to either disable comments everywhere or on select content types. For us, we’re only selecting media which will remove the comment option from our images.

If you want to keep comments while protecting yourself from spam there are a few recommendations for plugins you may want to take a look at, the main two being Akismet and Antispam Bee. For dissuading the spam comments even further there is the Comment Link Remove and Other Comment Tools plugin that disables links in your comments.

If you liked this video, then please Like and consider subscribing to our channel here for more WordPress videos.

Feel free to take a look at the written version of this tutorial here:

Check us out on Facebook

Follow us on Twitter

Check out our website for more WordPress Tutorials
#WordPress #WordPressTutorial #WPBeginner



  • Deep Space on September 17, 2019

    Thank you! I didn't know wordpress has this feature by default. I had to install a plugin

  • Terry G on September 17, 2019

    Do the tool gear and the 3 dots only show up when you use the new wordpress visual editor? I use other page builders, and I don’t see that on those. I have one test site that doesn’t have another page builder, and they do show up there. I can however, find the comment setting in the left column under the content

  • philbertmill2 on September 19, 2019

    Awesome! thank you, just what I was looking for!

  • Alberto Martínez Pizarro on September 23, 2019

    Perfectly explained! 😀

  • asiye koca on September 26, 2019

    Amazing perfectly explained! Thank you so much 🙂

  • Bachchar Yassine on January 14, 2020


  • Irish Images FILM on January 26, 2020

    very helpful 🙂 thanks

  • Don Jones on February 8, 2020

    Thank You!

  • Monotosh sarkar on February 26, 2020

    How to Disable Comments "<!–xxx –>" this from wordPress template

  • From Tailors With Love on April 1, 2020

    Thank you, this is a huge time saver. Can you tell me if you've done a video on how to optimise blog posts for phone and mac? I have experimented with padding but I've not found the ideal. Currently on my website the text bleeds over the image on the MAC but looks good on the phone. Any help would be greatly appreciated. PB

  • CoachingFinanceOnline on April 3, 2020

    Great tutorial

  • Wiley on May 9, 2020

    this video is outdated and no longer relevant. wordpress has changed their site

  • Daler Rakhmet-Zade on July 24, 2020

    Thanks so much!

  • Joehle1 on August 19, 2020

    Would one add all of those plugins?

  • prosper janhi on September 18, 2020

    Thank you. it really worked.

  • Shermanart Creative Services on September 28, 2020

    Very good explanation. I really appreciate the info. Very helpful.

  • T1m0666 on October 11, 2020

    Thanks for the sanity check 😀 I was in the right place, but wanted to make sure I was disabling comments everywhere. Thank you!!!

  • Agata Buczak on October 21, 2020

    super very helpful

  • Each Sense on November 9, 2020

    OMG Thank You!

  • Abid Kamboh SHP on November 18, 2020


  • Coral Euphoria on November 25, 2020


  • Ign 0326 on November 26, 2020

    Amazing, you could not explain that better

  • Karen C on December 1, 2020

    When I did a bulk action of not allowing comments, it made my site go down.

  • njoylife2day on December 3, 2020

    perfect! Thanks. Just what I was looking for without a bunch of jaw jacking!

  • Raina Burke on December 8, 2020

    Thanks so much!

  • egdapo on December 9, 2020

    This was very helpful. Thank you so much

  • theShowman on December 9, 2020

    Very well explained. Thank You.

  • Drwendydearborne on December 10, 2020

    Thank you!

  • Dr. John and Yvonne Wagner on December 23, 2020

    Thank you for your video. I was getting spammed so bad from a particular website and "different" people I was just done with comments. Thanks for showing me how to get rid of old and new comments and get rid of the comments areas.

  • Annabelle's Stamping Studio on January 5, 2021

    This video was excellent! Thank you so much!

  • ST DMC on January 11, 2021

    Wow. This is exactly what I’ve been looking for. Thank you very much.

  • Jovan Peric on January 13, 2021

    Great video. Thank you for sharing.

  • portraitpictures on January 24, 2021

    Thanks for this – helped me a great deal

  • Gozo Villas on January 30, 2021

    Great video.I had seen a video which said that deleting all spam comments on your site affects your ranking negatiely.I noticed this happening on my site.Now after deleting all comments how long it takes google to realise there are no comments anymore and possible rank me higher?

  • Don Frankish on February 3, 2021

    Great job, got to the point, no jibber jabber. NICE.

  • Palaweña Vibe on February 21, 2021

    Thanking you in advance.😊

  • Leslie Vasquez on February 26, 2021

    Thanks for this. Will turning off comments hurt your Google Rank?

  • Trinn on March 4, 2021

    Thank your for your tutorial, it helped me a lot to handle the comment part of WP. Very well explained too. 🙂

  • Raaj Magdum on April 8, 2021


  • A Greek in Norway on May 2, 2021

    I love your voice and the way to talk 🙂 You help me A LOT!

  • sachin saagar on May 7, 2021

    Hey just quick query
    I am using elementor pro with astra.
    I want to disable comment bydefault from wordpress astra theme but at the same time want to enable it from Elementor pro comment block. When i m disabling comment from wordpress it is also disabling my comment block from elementor.
    What is the solution

  • virote moungmai on May 10, 2021

    thanks you so much

  • Max Tovar on July 2, 2021

    thank you so much.

  • Amy Marschak on July 26, 2021

    I had a way to hide comments without deleting them but can't seem to find it

  • ATH EER on August 7, 2021

    Thank you for you helpful video🤍 do you have a video of how to make a page like Q&A, i need to create a page for people so they can write a question and answer each other ( so they help each other by questioning and answering) i know how to enable comments section but i need something more organized so the question is highlighted and the answer will be under it. I hope you understand my need. Thank you so much

  • TG aka Scream on August 13, 2021

    Great explination, and totally on my level. LOL I'm a subscriber for sure!!!

  • Roshan Perera on September 21, 2021

    Thank you, I got what I was looking for. Thank you very much.

  • Hang Sang on September 29, 2021

    Very well explained with a simple and understandable English. The way of explanation is really soft and so understanding that a lay man like me understood and resolve the issue of comments which I was having since years. I am subscribing your channel. Keep going and keep helping people like us who needs your experts advise. God Bless.

  • corann hermanns on November 16, 2021


WhatsApp us
Live Chat

Office hours operation Mon-Sun 8:00 am ET – 4:00 pm ET

To start your Premium WP or Cpanel service, use our domain search engine, if the domain you want is available, contact us by Whats app to activate your project.

The easiest, fastest, and most secure way to communicate with us.
Please enter your domain.
Please verify that you are not a robot.

Terms Privacy