Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
The template is selected in the template-loader.php file , it is connected directly from wp-blog-header.php (which in turn is connected from index.php ) after parsing the main request.
Here you can see a simplified diagram of the entire loading process: “Make sense of WordPress core load” .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question