First › Forums › Template Files › Query-based Template Files › Reply To: Query-based Template Files
March 29, 2013 at 3:23 pm
#1527
Keymaster
To use the Template Hierarchy, you basically need to provide special-purpose Template files, which will automatically be used to override index.php. For instance, if your Theme provides a template called category.php and a category is being queried, category.php will be loaded instead of index.php. If category.php is not present, index.php is used as usual.