Blue Presley
asked 9 years ago

The DWQA guide instructs that we should set ‘static’ to ‘Questions’ as the home page in the Reading settings. This page uses Default Template as it’s template file.
I’m using DW Minion, and I need to change some of the HTML elements for this template.
However, even if I modify index.php or page.php, the structure of the DWQA default Question page does not change. If I turn off DWQA plugin, then page.php modifications show up correctly.
Obviously, DWQA is taking control of this template file. Which DW Minion template file or which DWQA template file do I modify to change how that template.php file is structured? Or, asked differently, how do I modify the home page template when ‘static’ is set to ‘Questions’ as instructed in the guide?

2 Answers
well wisher
answered 9 years ago

Hi Presley may be you should use “what the file” plugin for finding things out according to me its single -question.php for single question page and so on…

Kido D
answered 9 years ago

Hi there,
You can change the DW Q&A template in plugins/dw-question-answer/inc/templates/default folder. But I’ll recommend you to create a new folder in your theme folder, named it “dwqa-templates”, and copy all the .php files in the template folder above to that new folder. After that, you can modify the template files without any effect on the Q&A plugin.
Let us know if you need anything further, my friend!

replied 6 years ago

I´m using a child theme; so where should the folder be created: Whithin the main or the child theme?

Dominic Staff
replied 6 years ago

If you using the child theme, you can create the folder in the child theme.

Powered by DW Question & Answer Pro