emy ymk
asked 10 years ago

I need to set a specific category in the submit question page.
I want to pass the category using query string parameter and when submit question page opens, I want it already selected in the category combo.
Can someone help me? Or is there an easy way to do this? 
Thank you. 

emy ymk
replied 10 years ago

Please, can someone change to DW Question & Answer?

1 Answers
answered 10 years ago

Apologies for the delay in replying to you.
At the moment, our plugin does not support this issue. However, you can make make some default category of question if user do not chose any categories, You can override the template of the submit question form. To do so, you copy this filehttps://gist.github.com/bighug/11311568 into your-theme/dwqa-templates folder. And go to line 35 and replace the selected category ID that you want to choose with the default.
Hope this helps !

Powered by DW Question & Answer Pro