mmp460

Class Information, Notes and code samples for MMP 460

slack

The anatomy of a WordPress theme

A WordPress theme consists of template files that describe the structure of the different pages, such as the homepage, static pages, single post pages, etc.

files

Each of these pages is made of other template files that describe different parts of the page. For example, the index.php below includes the header.php, sidebar.php and footer.php files.

theme

For a complete discussion of how WordPress themes work read: The anatomy of a WordPress theme.