diff --git a/inc/helpers/aksrt-header-userbox.php b/inc/helpers/aksrt-header-userbox.php index eed8feb6..41461a4b 100644 --- a/inc/helpers/aksrt-header-userbox.php +++ b/inc/helpers/aksrt-header-userbox.php @@ -91,8 +91,9 @@ if (!function_exists('aksrt_header_user_badges_row')) : if ($user_id <= 0 || !function_exists('aksrt_render_user_identity_chips')) { return ''; } - // VIP + level already shown next to display name in the header profile row. + // Certification is displayed beside the name and level icon in the profile row. $chips = aksrt_render_user_identity_chips($user_id, 'card', ['include_vip' => false, 'skip_level' => true]); + $chips = preg_replace('/'; + } + break; + } + } $payvip = function_exists('aksrt_header_payvip_bar') ? aksrt_header_payvip_bar($user_id) : ''; // nav_user_pay_vip gate: empty payvip when switch off for non-VIP CTA only — helper already handles VIP status. if (empty($ctx['nav_user_pay_vip']) && $payvip !== '' && strpos($payvip, 'is-vip') === false) { @@ -243,7 +257,7 @@ if (!function_exists('aksrt_header_user_box_html')) : $con .= $avatar; $con .= '
'; $con .= '
' - . '' . esc_html($display_name) . '' . $vip_badge . $level_badge + . '' . esc_html($display_name) . '' . $vip_badge . $level_badge . $certification_badge . '
' . esc_html($desc) . '
'; $con .= '
'; $con .= $msg_icon;