Disabling WordPress Comments & Trackbacks

In my many cases, we use WordPress as a content management system (CMS) and not as a blog platforms. Though, commenting is a useful feature of WP in some cases it is unnecessary. Fortunately there are many ways you can disable WOrdpress comments or remove the excising ones in bulk easily. Here are some way you can get rid of WordPress comments.

The Simplest

  • On the left hand side of the dashboard page find “Settings”.
  • Then, within it click on “Discussion”.
  • Within this panel, you will find “Allow people to post comments on new articles.”
  • Uncheck it and save your setting.

That is all, now your comments section is disabled.

 

Here is a Tutorial

By Editing your Theme File

Removing the comment section can be done by modifying the single.php file of your theme. You can easily edit it from dashboard by clicking on “Appearance”, then on the “Edit” button. Next, you will need to find the theme you use from the dropdown menu, and by clicking on, you will see the files your theme contains.

Find the file called single.php, click on it and you will see the codes. Find this line <?php comments_template(); ?>, and remove. That is all, the comment section cannot be seen any more.
Watch out!Backup the file before making changes.

 

By Using Plugin

Another way you can remove comments is to use the Disable Comments plugin. It allows to get rid of commenting on different post types such as posts, pages, etc. Moreover, it also removes all the discussion-relevant sections from the editing page. It offers additional features, as well. Easy and fast way to turn of comments.

Disabling Trackbacks

As you probably know whenever somebody links to your post on their WordPress site, a ping is sent to your blog that your page is mentioned. The trackback will be displayed like a comment. You can approve it, or not, it depends on you, but I think nowadays it does not add too much value for a post. You can disable trackbacking easily, as well.

  • First in the WP admin dashboard find “Settings” and click on it.
  • Then find the and click on “Discussions”.
  • After that, find “Allow link notifications from other blogs” and uncheck it.

Now trackbacking is disabled.

Disabling WordPress Comments and Trackback

Turn off WP comments and trackbacks

 


Last updated by at .

Recommend!


Comments

  1. Shockter says:

    The number of spammy comments has been increased drastically recently, so I decided to get rid of the commenting option. Thanks for the tutorial for disabling commenting.

Speak Your Mind

*