Every blog build on top of WordPress has three types of pages.
1) The blog posts index page with all the blog posts irrespective of their category, tag, author or published year.
2) Multiple archive pages which contain blog posts belonging to a particular category, tag, author or published year
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
3) A single blog post page
WordPress automatically builds all these pages for us based on the URL.
For example, if a user visits:
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.