How to Disable Comments From All Posts in WordPress

By: Prem Tiwari | Last Updated: | In: Code Snippets, WordPress Snippets


This is a very short tutorial on the WordPress tips & tricks. In this tutorial, I will explain how to disable comments from all posts in WordPress site.

How to Disable comments from all Posts in WordPress

If you want to disable commenting system from your posts and pages, then follow the below steps:

Step 1) Login to your cPanel and open PHPMyAdmin.
Step 2) Now select the database and click on the SQL tabs.
Step 3) Copy the below MySQL queries and execute it.
Step 4) enjoy!

Afte executed the above MySQL queries comment option will be disabled from all your posts.

Share this post!


About: Prem Tiwari

Prem Tiwari is the founder of FreeWebMentor.com and also a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies.


Tags: , , , , , ,