相关函数
the_archive_title() / get_the_archive_title()
WordPress 的归档种类有 N 多种,日期、分类、标签、文章形式等…… 而这个不起眼的函数却可以帮你节省不少归档模板上的逻辑处理。
the_archive_title( '<h1 class="page-title">', '</h1>' );
the_archive_title
原:https://developer.wordpress.org/reference/functions/the_archive_title/
the_archive_description
原:https://developer.wordpress.org/reference/functions/get_the_archive_description/
原2:https://developer.wordpress.org/reference/functions/the_archive_description/