Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
in Q2A Core by

I would like to restructure the layout completly such that each element, e.g. qa-nav-user, , header, footer, etc., can be split up among several pages, iframes, etc. In other words: Keeping the QA base intact, while having a complete custom design.

Something I thought about would be to create a




file for each element and call it from the appropriate position on my website. However, it is not obvious to me, how to do that, since


does not seem to work.

Thanks for any input,



Q2A version: 1.5

2 Answers

0 votes
I like this concept. Templates for each page type, with tags for Q2A output blocks would make customization easier for non-programmers and increase the installed base.

I would like to see something like this in a future version.
0 votes

You could create a plugin with a layer that replaces a high-level function in the base theme class, e.g. body_content() or main(), depending on how much you wanted to replace with templates. This could then open template files. You could also define functions to be accessed by those templates in order to embed all the different bits and pieces of Q2A content. It would be a rather huge job...