Miguel
asked 4 months ago

I’ve got a lot of categories and, to facilitate the selection for the user, I want to show the hierarchy in the dropdown field of the “Add New Question” page.
I could do it by adding the following lines to the wp_dropdown_categories() function in question-submit-form.php, but I don’t want to lose the customization when I update the plugin. How can I implement it through my child theme?:
‘depth’ => 3,
‘hierarchical’ => 1,

1 Answers
DominicStaff
answered 4 months ago

You can create the dwqa-templates/styles/default folder in your theme folder then copy/paste the template file into the default folder to custom it.

Dominic Staff
replied 4 months ago

Which styles are you using for the plugin?
Please check the style in the Dashboard > Questions > Settings. If you used another style not the default style, you need to reaname the themes/astra-child/dwqa-templates/styles/default folder into themes/astra-child/dwqa-templates/styles/your-style

Miguel Euklides
replied 4 months ago

Thanks, Dominic. I had a different style selected. Now it works perfectly

Dominic Staff
replied 4 months ago

You’re welcome. Let me know if you have any issue or question.

Powered by DW Question & Answer Pro