WordPress Template Hierarchy

WordPress Templates fit together like the pieces of a puzzle to generate the web pages on your WordPress site. Some templates (the header and footer template files for example) are used on all the web pages, while others are used only under specific conditions.

Visual Overview
The following diagram shows which template files are called to generate a WordPress page based on the WordPress Template hierarchy.

You may also like...