fix(user): show IP city on home/center and force /user + profile templates
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user