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,
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.
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
Thanks, Dominic. I had a different style selected. Now it works perfectly
You’re welcome. Let me know if you have any issue or question.
Please login or Register to submit your answer