Is there a quick way to disable all comments on all posts and pages. I know that you can go into the dashboard under posts, click edit, and Do Not Allow, under comments. Is that the only way?
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
|
The check if comments are enabled is performed by You can make it always return false with something like this:
Other way would be to make comments available to only registered users (that is if you don't have open registration) in |
|||
|
|
|
Not including the comment-form in your theme also works (that's what I usually do). |
|||
|
|
|
I have write an plugin for this job. https://github.com/bueltge/Remove-Comments-Absolutely WordPress has on many different points jobs and views for comments, if you will not use all this, use the plugin or customize the source for your requirements. |
|||
|
|