Nagarjun Sarathy
asked 6 years ago

Is there a way to add all Unanswered questions list to sidebar, just like how we can add Popular, Related, Latest questions widgets to sidebar.

1 Answers
answered 6 years ago

To resolve this issue, you can create a widget for the Unanswered question. 
1- Go to the themes/your-theme folder, create a folder named “dwqa-templates”
2- Create a .php file, named “unanswered_Question.php”
3- Go to the plugins/dw-question-answer folder. Open the “dw-question-answer.php” file.
4- Add the following code under line 133: 

require_once DWQA_DIR . 'inc/widgets/unanswered_Question.php';

and the following code under line 145: 

Nagarjun Sarathy
replied 6 years ago

Thank you Dominic, your answer helped a lot.

Powered by DW Question & Answer Pro