I can see a picture of the template hierarchy here, but where is the actual wordpress code which decides that it's a "category page" or an "archives page" or a "search page"?
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
So all the heavy-lifting and interesting code happens before that at
and it is definitely inside of the WP_Query class (starting with the constructor in |
|||
|
|