Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

What is the name of the template from the main page?

0 votes
asked Jan 28, 2017 in Q2A Core by Evgen Nikifor


 ligament above lists information for the main and for a list of categories. And I need to main be like?

1 Answer

+1 vote
answered Jan 28, 2017 by pupi1985
selected Jan 29, 2017 by Evgen Nikifor
Best answer

For the category list, which is /categories, the template is categories.

For the home page, it depends on which page is your home page. Most likely it is the qa template that displays the "Recent questions and answers".

Anyway, you can find each template yourself. Just open your qa-theme/<your theme>/qa-theme.php file and add/merge this function.

public function initialize() {
    echo $this->template;

You should just see the output on top with the template for the given page.