Every blog build on top of WordPress has three types of pages.
A) A Category Archive Page which just displays blog posts belonging to a particular category like Friendship Goals
B) A Tag Archive Page which just displays blog posts belonging to a particular tag like Friendship
C) A Monthly or Yearly Archive Page which just displays all the blog posts belonging to a particular month like January 2019 or just 2019
D) An Author Archive Page which just displays blog posts belonging to a particular author like Sarah Mitchell
WordPress automatically builds all these pages for us based on the URL.
For example, if a user visits:
http://localhost:3000/dosth/tag/ancient/
WordPress will pull all the blog posts belonging to the “ancient” tag from the database and picks a template file from our theme based on the WordPress template hierarchy and renders those blog posts to the frontend.
And as a theme developer who follows proper standards, we have to support all the above-mentioned pages by creating template files for them. That’s all we need to do. Nothing else.
Anyway, In the next lesson, we will discuss how to prepare content for our blog.