I noticed that when I changed the WP_Query to ask for a certain category, the page served was category.php. So I'm guessing there's a block of code somewhere that decides which template to serve based on keys in the query. Where is it?
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
|
|||
|
|
The template loader determines which template to load for a given view, there's a filter available to change this though, Moved from comment to answer. |
|||
|
|