DW Question & Answer
Remove Comment Section From Single Question (2 posts)

  1. successcor
    Posted 2 years ago #

    Hello, in my site when I click in an open question the comments section is displayed just below the question, and below is the Answer section. I would like to remove the comment section or at least put it at the bottom. Below the answer section. Because I don't want users get confused about where to put the answer. Any idea about this I will appreciate it.

    By the way, this plugin is awesome.


  2. DesignWall
    Plugin Author

    Posted 2 years ago #

    Hi successcor,
    You can do it by going to "<your-plugins-folder>/dw-question-answer/inc/templates/default/single-question.php" remove these lines ( from 176 to 178 ) :

    <div class="dwqa-comments">
             <?php comments_template(); ?>

    Please note: If you update the latest version of DW Question & Answer, your modification will be lost, so please check your file again.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic