feat(user-center): 用户中心前台 1:1 列表/URL/关注/身份
补齐 orders/cart/revenue/messages 页面 URL helper,修复私有中心商务与消息死链,公共主页商品/关注接入真实数据,开启身份 chips governance,并注册消息中心页面模板。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
458df7e487
commit
a86649946a
10 files changed
+206
-49
No files matched your search
@@ -65,7 +65,7 @@ $classes = trim('article-avatar ' . $extra_class . ($show_actions ? ' article-av
|
||||
</button>
|
||||
<?php // 私信为“停用候选”兼容能力:默认不在前台暴露,仅在站点显式开启时显示。 ?>
|
||||
<?php if (is_user_logged_in()) : ?>
|
||||
<a href="<?php echo esc_url(add_query_arg('msg_type', 'conversation', aksrt_get_user_center_url('notif'))); ?>" class="author-action-btn author-action-btn--ghost">
|
||||
<a href="<?php echo esc_url(add_query_arg('msg_type', 'conversation', function_exists('aksrt_get_messages_page_url') ? aksrt_get_messages_page_url() : home_url('/'))); ?>" class="author-action-btn author-action-btn--ghost">
|
||||
<i class="far fa-comment-dots" aria-hidden="true"></i>
|
||||
<span><?php esc_html_e('私信', 'aksrt'); ?></span>
|
||||
</a>
|
||||
|
||||
Reference in new issue
Block a user