Title: Preventing comments
Last modified: February 14, 2017

---

# Preventing comments

 *  [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/preventing-comments-2/)
 * Is there a way to close comments on all questions and answers? Comments don’t
   have a captcha, so they attract lots of spam. I’d like to disable the commenting
   completely, but don’t see an option to do that.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [DesignWall](https://wordpress.org/support/users/designwall/)
 * (@designwall)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/preventing-comments-2/#post-8802394)
 * Hi,
    You can add the following code to the style.css file: ` .dwqa-comments {
   display: none; }
 *  Thread Starter [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/preventing-comments-2/#post-8803097)
 * This helps somewhat, but I don’t think spam bots read CSS. Is there a filter 
   I can use to remove the whole reply form?
    -  This reply was modified 9 years, 3 months ago by [Mikko Saari](https://wordpress.org/support/users/msaari/).
 *  Plugin Author [DesignWall](https://wordpress.org/support/users/designwall/)
 * (@designwall)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/preventing-comments-2/#post-8811691)
 * You can open the content-single-question.php and content-single-answer.php file
   in the templates folder and remove the following code:
 * `<?php comments_template(); ?>`
    It’s all the option to help you remove the comment
   box. Hope this helps!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Preventing comments’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/dw-question-answer_fefdf9.svg)
 * [DW Question & Answer](https://wordpress.org/plugins/dw-question-answer/)
 * [Support Threads](https://wordpress.org/support/plugin/dw-question-answer/)
 * [Active Topics](https://wordpress.org/support/plugin/dw-question-answer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dw-question-answer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dw-question-answer/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [DesignWall](https://wordpress.org/support/users/designwall/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/preventing-comments-2/#post-8811691)
 * Status: not resolved