asked 4 years ago

I’m using your DW Question Answer Pro plugin and I’ve got an issue with the search engine. It looks like I’m getting too much search results. I’ve started debugging and I found that if I’m using WP_Query ‘s’ parameter the search function works perfectly.
So my question is: why the line 158 in /inc/Filter.php is commented out? Why are you using ‘search_question_title’ instead of ‘s’ parameter?

1 Answers
answered 4 years ago

If use the ‘s’ parameter, it will show the wordpress post not question post. So, we are using the ‘search_question_title’.

Powered by DW Question & Answer Pro