WordPress archive pages: the tutorial by Yoast https://staging-platform.yoast.com/wordpress-archive-pages/