fix(frontend): align top navigation with reference theme

This commit is contained in:
kate522 committed 2026-10-29 18:10:00 +08:00
1 parent 1c501ff713
commit 9b27508a5b
12 files changed
+234 -607

No files matched your search

-6
View File
@@ -62,12 +62,6 @@ trait ScriptsPart1b {
);
};
// 顶部导航用户卡片(legacy header-userbox 模块样式)。
// 仅登录用户渲染用户卡(aksrt-header-userbox.php 的渲染条件),访客页面不加载。
if (is_user_logged_in()) {
$enqueue_module('header-userbox');
}
if (!is_user_logged_in() || (bool) get_query_var('aksrt_sign')) {
$auth_css = get_template_directory() . '/assets/css/routes/sign.css';
wp_enqueue_style(