#1579

You can use the index.php template file to generate all of these types of pages or rely on WordPress’ template hierarchy to choose different template files depending on the situation.

The WordPress Template Hierarchy answers the following question: