Ebuka Val
  • Home
  • YouTube
    YouTube
    Learn How to Start, manage, run and grow a profitable and successful YouTube Channel by reading the very best articles on the top grossing topics…
    Show More
    Top News
    Best Video Editing Software for YouTube Creators
    10+ Best Video Editors for YouTube in 2023 (both PC and Mobile)
    May 19, 2022
    Person Holding an iPhone Opened on a Music Folder 
    How to Monetize YouTube Channel on Mobile easily.
    April 27, 2022
    YouTube SEO Tips that actually work
    YouTube SEO Tips for 2023: Get Higher Rankings on YouTube
    June 8, 2022
    Latest News
    How Much Time Do YouTubers Spend Editing?
    January 14, 2023
    100K Subscribers and Counting: How Much Money Do YouTube Creators Make?
    December 31, 2022
    How Much Money Does 500k Subscribers Make? (Calculated)
    December 31, 2022
    YouTube Income for 200K Subscriber Creators: What to Expect
    December 31, 2022
  • WordPress
    WordPress
    The Best Platform for you to Start a Blog is WordPress, On this Category, I fix every possible issue you may face in your WordPress…
    Show More
    Top News
    WordPress Membership Plugins
    15 Best WordPress Membership Plugins 2023 (Editor’s Pick)
    April 21, 2022
    How to Install a WordPress Theme (For Beginners)
    June 24, 2022
    How to Clear your WordPress Site's Cache
    How to Clear your WordPress Site’s Cache Easily in 2023
    September 5, 2022
    Latest News
    How to Install WordPress Using cPanel with & without Softaculous (2023 Guide)
    January 16, 2023
    10 Tips to Secure and Protect your WordPress Website in 2023
    January 16, 2023
    How to Upload & Install a WordPress Plugin for Beginners
    January 5, 2023
    How to Insert a Table in WordPress without Plugins
    January 5, 2023
  • Ad Networks
    Ad Networks
    Learn about your favorite Ad Networks including: AdSense, Ezoic, Mediavine, AdThrive, Outbrain, Taboola, Adsterra, PropellerAds and many more..
    Show More
    Top News
    how much does propellerads pay per 1000 views
    How Much Does Propellerads pay per 1000 views? Updated!
    May 1, 2022
    Does Ezoic Pay Publishers for Impressions
    Does Ezoic Pay for Impressions? (Answered by Premium Publisher)
    October 2, 2022
    How to Make Money with Google AdSense without a Website
    How Can I Make Money with AdSense without a Website?
    October 16, 2022
    Latest News
    Ezoic Premium Review: Is It Worth the Investment for Your Website in 2023?
    January 5, 2023
    Earning from Ads on WordPress: A Beginner’s Guide
    January 1, 2023
    AdSense Earnings Explained: How Much Can You Make for 1000 Views?
    December 31, 2022
    AdSense Pay Per Click: How Much Can You Expect to Earn?
    December 30, 2022
  • MMO
    MMO
    Want to learn everything about making money online? That’s what this category will help you do, you’ll simply learn how to make money online whether…
    Show More
    Top News
    best money making apps
    5 Best Money-Making Apps for Beginners (Updated)
    September 6, 2022
    9 Easy Ways To Make Money On Whatsapp [$10,000/mo. Guide!]
    May 6, 2022
    hobbies that can make you money
    11+ Hobbies That’ll Make You A LOT of Money in 2023
    October 18, 2022
    Latest News
    NEW! How to Get Free Money Online (2023 Guide): 10+ Proven Strategies
    January 2, 2023
    Get FREE Amazon Gift Cards with These 7 Surprising Websites!
    January 1, 2023
    Get Paid $400+ Daily to Listen to Music for FREE in 2023
    October 20, 2022
    11+ Hobbies That’ll Make You A LOT of Money in 2023
    October 18, 2022
  • Free ToolsNew
    • YouTube Tools
      • YouTube Title Generator
      • YouTube Tag Extractor
      • YouTube Tag Generator
      • YouTube Description Generator
      • YouTube Earnings Calculator
    • Website Management Tools
      • AdSense Revenue Calculator
      • Keyword Suggestion Tool
      • Robots.TXT Generator
      • Meta Tag Generator
      • Hosting Checker
      • WordPress Theme Detector
    • Text Analysis
      • Article Rewriter
      • URL Rewriter
Notification Show More
Latest News
How to Install WordPress Using CPanel
How to Install WordPress Using cPanel with & without Softaculous (2023 Guide)
WordPress
Tips to Secure and protect Your WordPress Website
10 Tips to Secure and Protect your WordPress Website in 2023
WordPress
How Much Time Do YouTubers Spend Editing?
How Much Time Do YouTubers Spend Editing?
YouTube
How to Upload and Install WordPress Plugins
How to Upload & Install a WordPress Plugin for Beginners
WordPress
Ezoic Premium Review: Is It Worth the Investment for Your Website
Ezoic Premium Review: Is It Worth the Investment for Your Website in 2023?
Ad Networks
Aa
Aa
Ebuka Val
Search
  • Home
  • YouTube
  • WordPress
  • Ad Networks
  • MMO
  • Free ToolsNew
    • YouTube Tools
    • Website Management Tools
    • Text Analysis
Have an existing account? Sign In
  • Home
  • About Us
  • Blog
  • Contact Us
  • Terms & Conditions
  • Privacy Policy
Learn From a Bunch of Tutorials available for Free.
We may receive a commission for purchases made through links in this post. However, this does not impact our reviews and comparisons. We strive to always provide accurate and honest information to our readers.
WordPress

The Ultimate Guide to Disabling WordPress Comments (Goodbye, Spam)

Ebuka Val
Last updated: 2023/01/01 at 12:23 AM
Ebuka Val Published January 1, 2023
10 Min Read
How to Disable WordPress Comments Easily
How to Disable WordPress Comments Easily - Ebuka Val

Are you eager to learn how you can disable Comments on your WordPress Website? 

A Couple of years ago, when all these bots hadn’t been too vibrant on the internet, comments were an indication that an article or web page is good or so. 

But since the rise of all these Black Hat SEO Tools, WordPress Users have no other choice but to simply turn off comments in other to stay clear of spam.

In this article, you’re going to learn the easiest ways to disable WordPress Comments either for your entire website or for just some pages on your site. 

Why Disable your WordPress Comments? 

The most potent reason why WordPress Users remove Comments is because of Link Spam by all these Shady Tools. 

Although, some users may decide to turn off comments for some of their pages which may be an announcement or a Quiz, or just about any page. 

Some Businesses that only have basic pages like About Us, Contact, Team, etc, don’t need comments on these pages so they can disable them. 

Is Disabling WordPress Comments worth it? 

As I said, all these paid link-building Black Hat SEO Tools are targeting WordPress Comments the most, and although Akismet is trying, it’s only a tool and can’t uncover every single spam.

Well, I don’t believe disabling WordPress Comments is worth it because it’s important to know what your readers think as well as answer their questions if they have one. 

You’ll notice that the comments are always open on this website. In my first couple of months, this site was like under attack by these spammy bots even though I had Akismet enabled.

What I did was simply use a button to hide the Comments Section, if you scroll down, you’ll have to click on the “Leave a Review” button before you can leave a comment. 

You can also use Cloudflare and toggle the under attack option so that your visitors are shown a JavaScript Challenge, this way bots can’t access your website.

How to Completely Disable WordPress Comments on your entire Website 

There are 3 ways to effectively disable Comments throughout your entire WordPress Website: 

  • Using A Plugin.
  • Via Theme Editor.
  • Toggling Options in WordPress Settings.

Using a Plugin 

If you want to completely disable WordPress Comments on your Entire Website using a Plugin, then the best to use is WP Code, you can install it from Plugins → Add New.

Once the WP Code Plugin is installed and activated, all you need to do now is to Hover on Code Snippets from the left navigation panel and then click on Library. 

The WP Code Plugin Banner
The WP Code Plugin Banner

This plugin comes with a lot of Pre-configured Code Snippets which you can just toggle on and they’ll make changes to your website. 

You should use the search bar and search for disable comments, it’ll load the result and you should then click on use snippet. 

The Plugin is going to load the Code Edit Page where you simply need to do nothing but toggle the active button and click on the blue update button.

Via Theme Editor

Some WordPress users like to go through the Code Route and don’t want to install any more WordPress Plugins on their website, if you’re one of them, then this section will interest you. 

To Disable WordPress Comments Manually, you’ll have to copy the code below and paste it into your Theme’s Functions.php file. 

add_action('admin_init', function () {
    // Redirect any user trying to access comments page
    global $pagenow;
     
    if ($pagenow === 'edit-comments.php') {
        wp_safe_redirect(admin_url());
        exit;
    }
 
    // Remove comments metabox from dashboard
    remove_meta_box('dashboard_recent_comments', 'dashboard', 'normal');
 
    // Disable support for comments and trackbacks in post types
    foreach (get_post_types() as $post_type) {
        if (post_type_supports($post_type, 'comments')) {
            remove_post_type_support($post_type, 'comments');
            remove_post_type_support($post_type, 'trackbacks');
        }
    }
});
 
// Close comments on the front-end
add_filter('comments_open', '__return_false', 20, 2);
add_filter('pings_open', '__return_false', 20, 2);
 
// Hide existing comments
add_filter('comments_array', '__return_empty_array', 10, 2);
 
// Remove comments page in menu
add_action('admin_menu', function () {
    remove_menu_page('edit-comments.php');
});
 
// Remove comments links from admin bar
add_action('init', function () {
    if (is_admin_bar_showing()) {
        remove_action('admin_bar_menu', 'wp_admin_bar_comments_menu', 60);
    }
});

If you don’t know where your functions.php file is located, you can go through this route Your Dashboard → Appearance → Theme Editor → functions.php file on the right of the editing interface. 

Via WordPress Settings 

You can use this alternate manual method if you’re not comfortable with adding a piece of code to your WordPress Website. 

The first step you need to take is to log in to your WordPress Dashboard then on the left navigation panel, hover on settings then click on Discussion. 

Find the Default Posts Settings option then uncheck the option that says allow people to submit comments on new posts. This will turn off comments on any new posts on your WordPress Website.

But our goal is to disable comments even on already published posts, so you’ll have to scroll to the Other Comments Section, then tick the box before the Automatically close comments on posts older than [] days. 

Don’t forget to enter 0 in the box before days and then click on Save at the bottom of the page and you’ve successfully turned off comments for your entire WordPress Website.

How to Disable Comments on Specific WordPress Posts and Pages 

If you want to disable comments on specific WordPress Posts or Pages, you’ll have to Navigate to Posts and then hover over the title of the post, and click on Edit. 

On the Right Panel of the Editor, you should scroll down to the Discussion option and then uncheck the box beside Allow Comments and then click on Update to save your settings. 

Uncheck the 'Allow comments' option and comments will be successfully disabled for the current post
Uncheck the ‘Allow comments’ option and comments will be successfully disabled for the current post

With that, you’ve successfully turned off comments for that particular post, if you view it in the front, you won’t see the comments section. 

Your WordPress Pages have the comments section turned off by default, so don’t worry about editing that. 

How to Bulk Disable Comments on WordPress Posts and Pages 

Maybe you’ve got a group of posts that you don’t want your readers’ opinions on or that Link Spam tools are consistently attacking, here’s how you can disable comments on them. 

  • Click on Posts from the Left Navigation Panel. 
  • Use the Tick Boxes to select all the WordPress Posts you want to disable comments on. 
  • Then, Click on Bulk Actions, and from the drop-down select Edit. 
  • Click on Apply and then the page is going to reload. 
  • You’ll see a couple of options, click on the Comments option, then select Do not Allow. 
  • Click on the Update Button and your Changes will be live. 
Tick the Articles you want to disable comments for and then click on Bulk action > edit
Tick the Articles you want to disable comments for and then click on Bulk action > edit
Choose the 'Do Not allow' option and comments will be disallowed for the posts you selected
Choose the ‘Do Not allow’ option and comments will be disallowed for the posts you selected

How To Delete All Current WordPress Comments 

Since you no longer want people to leave comments on your WordPress Website, you probably don’t want new visitors to see old comments, so here’s how you can delete them. 

Login to your WordPress Dashboard, then click on Comments from the left navigation panel and find the comments that you no longer want to display on your Site’s front. 

How To Delete All Current WordPress Comments 

Tick the Check boxes beside these comments and click on the Drop Down Arrow beside Bulk Actions, then click on Apply. Your comments will now retire to the trash and can’t be seen in the respective Articles. 

Conclusion 

After completing the steps in this article, you should be able to do all of the following: 

  • Turn Off Comments across your WordPress Website.
  • Turn off Comments on Specific WordPress Posts.
  • Delete Old WordPress Comments 
  • Bulk Delete WordPress Comments. 

I hope you find this article helpful enough to share with others and don’t forget to leave a comment below. 

You can check out more WordPress Related Tutorials ← Here.

Posted by Ebuka Val
Follow:
Hello! My name is Ebuka Valerian and I am a blogger with a passion for helping others succeed online. I run a website that provides tutorials and tips on starting and managing Wordpress sites, creating and growing a YouTube channel, and monetizing content through ad networks. I also review various platforms and opportunities for making money online. If you're looking to start or improve your online presence, I invite you to check out my site and join me on this journey of digital entrepreneurship!
Leave a review

Leave a review Cancel reply

Your email address will not be published. Required fields are marked *

Please select a rating!

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Stay Connected

Facebook Like
Twitter Follow
Pinterest Pin
Youtube Subscribe

You Might Also Like

How to Install WordPress Using CPanel

How to Install WordPress Using cPanel with & without Softaculous (2023 Guide)

January 16, 2023
Tips to Secure and protect Your WordPress Website

10 Tips to Secure and Protect your WordPress Website in 2023

January 16, 2023
How to Upload and Install WordPress Plugins

How to Upload & Install a WordPress Plugin for Beginners

January 5, 2023
How to Insert Tables In WordPress Easily

How to Insert a Table in WordPress without Plugins

January 5, 2023
Newsletter Subscription

Subscribe to our newsletter to get our newest articles instantly!

Find Ebuka Val on Socials

Hi, I’m Ebuka . I’m a Blogger living in Nigeria. I am a fan of web development, video games, Digital Marketing and DIY. I’m also interested in movies and technology.

Recent Articles

  • How to Install WordPress Using cPanel with & without Softaculous (2023 Guide)
  • 10 Tips to Secure and Protect your WordPress Website in 2023
  • How Much Time Do YouTubers Spend Editing?
  • How to Upload & Install a WordPress Plugin for Beginners
  • Ezoic Premium Review: Is It Worth the Investment for Your Website in 2023?

Trending Posts

How Much Can you earn from Native Ads?
How Much Can you earn from Native Ads? (Answered)
How to Monetize Google Sites
How to Monetize Google Sites and Earn $350 per month
image 89 1 Ebuka Val
How to Advertise Your YouTube Channel on YouTube in 2023 (and get subs)
Ebuka Val
Follow US

© 2023 www.ebukaval.com - All Rights Reserved.

  • Home
  • About Us
  • Blog
  • Contact Us
  • Terms & Conditions
  • Privacy Policy
mailchimp email
Join Us!

Subscribe to our newsletter and LEARN How you can GROW your Blog and YouTube Channel as well as Make a lot of MONEY Online.

Zero spam, Unsubscribe at any time.
Welcome Back!

Sign in to your account

Lost your password?