-
-
+
diff --git a/README.md b/README.md index 5434b5d..ba9cf40 100644 --- a/README.md +++ b/README.md @@ -52,9 +52,9 @@ git clone https://github.com/itstudio-2002/ITStudioMainSite.git 推荐菜单结构: - 首页 - 公告通知 -- 技术博客 +- 博客 - 便民服务 -- 工作室介绍 +- 社团介绍 - 加入我们 #### 2. 发布公告 diff --git a/archive.php b/archive.php index f4b162b..e1dad4f 100644 --- a/archive.php +++ b/archive.php @@ -19,11 +19,11 @@ if (!$archive_url) { $default_cover_url = get_template_directory_uri() . '/resources/it_logo_2024.svg'; $weight_meta_key = 'itstudio_weight'; -$title_cn = $is_itstudio_news_page ? '社团新闻' : '公告通知'; +$title_cn = $is_itstudio_news_page ? '社团新闻' : '公告通知'; $title_en = $is_itstudio_news_page ? 'Club News' : 'Announcements'; -$empty_cn = $is_itstudio_news_page ? '暂无新闻' : '暂无公告'; +$empty_cn = $is_itstudio_news_page ? '暂无新闻' : '暂无公告'; $empty_en = $is_itstudio_news_page ? 'No news found.' : 'No announcements found.'; -$side_title_cn = $is_itstudio_news_page ? '要闻' : '重要公告'; +$side_title_cn = $is_itstudio_news_page ? '要闻' : '重要公告'; $side_title_en = $is_itstudio_news_page ? 'Top Stories' : 'Important Announcements'; $list_query = new WP_Query(array( @@ -83,12 +83,12 @@ $featured_ids = array_slice(array_values(array_unique($featured_ids)), 0, 4); value="" placeholder="" aria-label="" - data-cn-placeholder="搜索文章..." + data-cn-placeholder="搜索文章..." data-en-placeholder="Search posts..." - data-cn-aria-label="搜索文章" + data-cn-aria-label="搜索文章" data-en-aria-label="Search posts" > - + @@ -112,22 +112,22 @@ $featured_ids = array_slice(array_values(array_unique($featured_ids)), 0, 4);
@@ -135,7 +135,7 @@ $featured_ids = array_slice(array_values(array_unique($featured_ids)), 0, 4); @@ -170,8 +170,8 @@ $featured_ids = array_slice(array_values(array_unique($featured_ids)), 0, 4); 'current' => $paged, 'total' => max(1, (int) $list_query->max_num_pages), 'mid_size' => 2, - 'prev_text' => 'Previous', - 'next_text' => 'Next', + 'prev_text' => 'Previous', + 'next_text' => 'Next', 'add_args' => array_filter( array( 'q' => $keyword, @@ -218,7 +218,7 @@ $featured_ids = array_slice(array_values(array_unique($featured_ids)), 0, 4); - Views + Views @@ -226,7 +226,7 @@ $featured_ids = array_slice(array_values(array_unique($featured_ids)), 0, 4); -