fix(user-home): 1:1 align public profile with Zibll author page

- Remove 主页概览/快捷入口/交易服务 private-dashboard sidebar from public home
- Full-width layout; counts live in tab bar (粉丝 = followers)
- Hero: 用户中心/消息 for self, 关注/私信 for others; drop body stats row
- Defaults: no sidebar, posts/favorites/comments/follow tabs
This commit is contained in:
kate522 committed 2026-07-15 16:18:17 +08:00
1 parent bbe010f5b8
commit 50e9e83f68
10 files changed
+157 -153

No files matched your search

+4 -4
View File
@@ -27,8 +27,8 @@ if (!function_exists('aksrt_get_user_home_page_context')) {
$user_home_settings = class_exists('AKSRT_Settings')
? AKSRT_Settings::get_user_home_settings()
: [
'tabs' => ['posts', 'comments', 'favorites'],
'sidebar' => true,
'tabs' => ['posts', 'favorites', 'comments', 'follow'],
'sidebar' => false,
'cover' => true,
'follow' => true,
'posts_per_page' => 10,
@@ -89,7 +89,7 @@ if (!function_exists('aksrt_get_user_home_page_context')) {
$follow_count = 0;
if (class_exists('AKSRT_Follow')) {
$follow_count = (int) AKSRT_Follow::get_instance()->get_following_count($user_id);
$follow_count = (int) AKSRT_Follow::get_instance()->get_follower_count($user_id);
}
$plate_count = 0;
@@ -136,7 +136,7 @@ if (!function_exists('aksrt_get_user_home_page_context')) {
'product' => __('商品', 'aksrt'),
'plate' => __('圈子', 'aksrt'),
'forum' => __('论坛', 'aksrt'),
'follow' => __('关注', 'aksrt'),
'follow' => __('粉丝', 'aksrt'), // Zibll: 粉丝
];
foreach ($visible_tabs as $tab_key => $tab_config) {
if (!empty($tab_config['label'])) {