WordPress.org

Forums

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

  1. successcor
    Member
    Posted 1 year 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.

    https://wordpress.org/plugins/dw-question-answer/

  2. DesignWall
    Member
    Plugin Author

    Posted 1 year 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(); ?>
         </div>

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • DW Question & Answer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic