Whose on First?
-
I’m trying to understand the order in which WordPress assembles information to display theme pages, and having difficulty understanding the process.
First: the Codex informs that the index.php template file can be subdivided into the following basic files:
* header.php
* sidebar.php
* footer.php
* comments.php
*comments-popup.phpMost of the WP Themes designers divide it that way: but the Codex doesn’t say why it’s an advantage to modularize them like that, instead of including them all in index.php. Anyone know the reason?
Also, are those subdivided files part of the WordPress Template Hierarchy? Does WP consider the m to be part of index.php, and look at them the same time it looks at index.php?
And finally, when does WP look for style.css?
Any feedback would be appreciated…
- The topic ‘Whose on First?’ is closed to new replies.