Nathan Schacherer
asked 10 years ago

Hey – is it possible to set the plugin up so we can use facebook comments to reply to questions instead of the default comment form? also does this plugin integrate into any facebook login plugin?

1 Answers
answered 10 years ago

At the moment DW QA is not ready for Facebook comment. However, we will show you a way to help you do it with some customization code. In this case, you can use Facebook comment plugin and do as following:
1.  Install Facebook comment plugin.
After activating this plugin, click on “setting” to sett up the plugin then use the Shortcode to display facebook comment. Have a look at the screenshot below for more info.

2. Copy the single-question.php file (wp-content\plugins\dw-question-answer\inc\templates\default), then paste into the dwqa-templates folder in the folder theme (wp-content\themes\your-theme).
3. Open up the single-question.php file. Find the line 153
Replace the following code:

   <?php comments_template(); ?>

With new code:

  <?php echo do_shortcode('[fbcomments][fbcomments url="" width="375" count="off" num="3" countmsg="wonderful comments!"]'); ?>

Hope this helps !

Powered by DW Question & Answer Pro