sofismith
asked 4 years ago

Hi there, 
When displaying the categories in a dropdown – there’s no initial ‘select category’ item so the first category is always selected in the dropdown meaning it can never be selected or viewed from the dropdown switcher. How do I add an initial ‘select category’ entry like in the standard wordpress category dropdown widget, this should be tweaked. Thank you! 🙂

1 Answers
DominicStaff
answered 4 years ago

Hi,
You can open the Category_Question.php file in the dw-question-answer-pro/inc/widgets folder and find the line 40 then add the following code under line 40: 

echo '<option>select category</option>';
Powered by DW Question & Answer Pro