yujin kang
asked 6 years ago

1. How to set up to make searching with 2-characters-word possible? i.e. searching just with ‘DW’ – The default seems to be 3-letters.
2. I feel stuck when there is no search result, showing up ‘Not found! Try another keyword.’ and cannot dismiss unless remove whole the keyword. – I think just click outside exit ‘d be better.
 
Thank you for the nice Plugin 🙂 

1 Answers
Guru
answered 6 years ago

Dear @yujin,
 
To solve the search length issue please open the file: /wp-content/plugins/dw-question-answer/inc/templates/default/assets/js/dwqa-questions-list.js 
and search for the following line of code:

 if (t.val().length > 2) {

replace it with :

 if (t.val().length > 1) {

Best regards
 

yujin kang
replied 6 years ago

Thanks, it works!! 🙂

Powered by DW Question & Answer Pro