fix(user): show IP city on home/center and force /user + profile templates

This commit is contained in:
2026-07-25 15:02:57 +08:00
parent ac7ff8d4f2
commit 820fafd8a7
6 changed files with 163 additions and 49 deletions
+1 -1
View File
@@ -348,7 +348,7 @@ if (!function_exists('aksrt_single_render_author_card')) :
if ($author_id <= 0) {
return;
}
$author_url = get_author_posts_url($author_id);
$author_url = function_exists('aksrt_get_user_home_url') ? aksrt_get_user_home_url($author_id) : get_author_posts_url($author_id);
$author_name = get_the_author();
$bio = trim((string) get_the_author_meta('description'));
$name_html = function_exists('aksrt_get_user_name')