How to Disable Comments From All Posts in WordPress

Prem Tiwari - - 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.


Prem Tiwari

Prem Tiwari is the founder of FreeWebMentor.com and also a professional developer and a blogger by hobby.

Tags: , , , , , ,

Leave a Reply

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

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