Other WordPress templates
In addition to archive.php, single.php, and page.php, there are a number of other standard template files that WordPress looks for before using index.php for particular views. We're not going to create these files here, but you should feel free to experiment on your own WordPress installation. To learn about the complete file hierarchy for WordPress themes, feel free to visit https://www.codeinwp.com/blog/wordpress-theme-heirarchy/ (yes there's a typo in hierarchy, they've made a small mistake here). There's a great graph there that presents the hierarchy visually. It's very easy to follow and does a much better job at explaining this than I would do here through just words. In addition, when you browse the official ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access