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


I see all is in qa-theme-base but problem is there not clean html there is mixed php,html e.g.

foreach ($this->content['widgets'][$region][$place] as $module) {
$this->output('<div class="qa-widget-'.$region.' qa-widget-'.$region.'-'.$place.'">');
$module->output_widget($region, $place, $this, $this->template, $this->request, $this->content);
how we can edit templates with edit just html without know php ?

1 Answer

0 votes
selected by
Best answer

You just can't. The PHP code is there to dynamically build the HTML output. In order to modify those files you will need to know the basics about string concatenation and flow control structures in PHP. There are plenty of tutorials on the web about those two items.

Welcome to the Q&A site for Question2Answer.

If you have a question about Q2A, please ask here, in English.

To report a bug, please create a new issue on Github or ask a question here with the bug tag.

If you just want to try Q2A, please use the demo site.

July 25th, 2023: Q2A 1.8.8 released!