1) { // 如果是分页请求,重定向到archive.php的逻辑 // 或者直接包含archive.php的内容 include(get_template_directory() . '/archive.php'); } else { // 首页内容 ?>