用户主页再减层:抽出 page context helper 并清理失效 profile CSS
page-user-home 收成薄壳,tab/统计/分页上下文迁入 aksrt_get_user_home_page_context;同步删除 profile-public-contacts 等失效样式,并让 .user-center 宽度规则落到现用 aksrt-profile 壳层。
This commit is contained in:
1 parent
9f08c9337a
commit
05ee28ed5b
8 files changed
+183
-193
No files matched your search
@@ -44,8 +44,10 @@ require_once AKSRT_DIR . '/inc/helpers/class-aksrt-nav-walker.php';
|
||||
require_once AKSRT_DIR . '/inc/helpers/aksrt-transactions.php';
|
||||
require_once AKSRT_DIR . '/inc/helpers/aksrt-user-dashboard.php';
|
||||
require_once AKSRT_DIR . '/inc/helpers/aksrt-user-center.php';
|
||||
require_once AKSRT_DIR . '/inc/helpers/aksrt-user-home.php';
|
||||
require_once AKSRT_DIR . '/inc/helpers/aksrt-shortcodes.php';
|
||||
|
||||
|
||||
// ============================================================
|
||||
// 阶段2:加载类文件(settings 必须在 admin 之前)
|
||||
// ============================================================
|
||||
|
||||
Reference in new issue
Block a user