Hi,
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.
Regards,
Nagarjun
1 Answers
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:
'DWQA_Widgets_unanswered_Question',
Thank you Dominic, your answer helped a lot.
Please login or Register to submit your answer