What Is A WordPress Archive Page?
When you are building a WordPress Theme, you have the option of adding a file named archive.php to your theme. It is optional because if you don’t have it, then the index.php will handle the output of archive type posts. Now as a refresher, an archive page in WordPress is referring to a collection of posts grouped by category, author, date, tag, etc. In this tutorial, we will now add an archive.php…