Monday, 21 November 2016

How to Completely Remove Comments From Your WordPress Site

Do you want to completely remove comments from your WordPress site? If you only use static pages on your website or simply don’t want to have comments on your posts, then you can easily disable all comments in WordPress. In this article, we will show you how to completely remove comments from your WordPress site.

Completely remove comments from your WordPress site

Why Remove Comments in WordPress?

Many WordPress users are small business owners who don’t add a blog section on their website. Their site mainly consists of static pages which makes comments useless.

While you can easily disable comments on WordPress pages, this does not completely remove comments from your WordPress site.

On the other hand, some bloggers don’t want to use comments at all. They believe that comments are a distraction, and their blogs can do without having a comments.

Now the problem is that most WordPress themes have built-in support for comments. This means that even if you manually turn off comments, they may still pop up here and there.

Wouldn’t it be nice to get rid of comments with just a click?

Let’s see how to completely remove WordPress comments from your WordPress site without leaving any traces.

Disabling Comments in WordPress

First thing you need to do is install and activate the Disable Comments plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to visit Settings » Disable Comments page to configure plugin settings.

Settings page for Disable Comments plugin

The settings page is divided into two sections.

You can completely disable comments everywhere on your WordPress site or you can selectively disable them on posts, pages, or any custom post types.

Select the first option to completely disable WordPress comments on your website.

Don’t forget to click on the save changes button to store your settings.

Disable Comments plugin will now completely disable comments on your WordPress site. You can now visit any post on your website to see it in action.

Comment section removed from website

Since comments will not be displayed, there is no need to delete existing comments. However, if you want to, then here is how to easily bulk delete all WordPress comments.

The plugin will also remove the comments menu item and all mentions of comments from your WordPress site’s admin area.

Comment section removed from WordPress admin area

Removing ‘Comments Are Closed’ and Existing Comments in WordPress

Disable Comments plugin removes comment form, stops displaying existing comments, and even removes messages like ‘Comments are closed’ from old posts.

However, if your WordPress theme is not properly checking the comment status, then it may still display the comment form, existing comments, or ‘comments are closed’ message.

You can ask your theme developer to fix this, because this is not a standard compliant approach.

Alternatively, you can also try fixing it yourself by following the instructions below:

First, connect to your WordPress site using FTP Client or File Manager in cPanel. Now navigate to your current theme folder which will be located in /wp-content/themes/ folder.

In your theme folder, you need to locate the file comments.php and rename it to comments_old.php.

Rename comments template in WordPress

Next, you need to right click and select ‘Create new file’ option in your FTP client.

New blank comments template

Name your new file comments.php and click OK button.

This trick simply serves an empty comments template to your WordPress theme so no comments or comment related messages will be shown.

If your WordPress theme does not have comments.php file, then you need to ask your theme developer which file you need to edit.

That’s all, we hope this article helped you learn how to complete remove comments from your WordPress site. You may also want to see our list of 24 must have WordPress plugins for business websites

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Completely Remove Comments From Your WordPress Site appeared first on WPBeginner.



source http://www.wpbeginner.com/plugins/how-to-completely-remove-comments-from-your-wordpress-site/

No comments:

Post a Comment