fix(style): refresh author card

This commit is contained in:
2026-08-15 17:57:31 +08:00
parent 61fea15e9f
commit caa5fca3c2
+3
View File
@@ -54,6 +54,9 @@ class WidgetAuthorCard extends \WP_Widget {
$bio = (string) $user->description;
}
$cover = (string) get_user_meta($author_id, 'aksrt_background_image', true);
if ($cover === '') {
$cover = get_theme_file_uri('assets/img/person_background.png');
}
$post_count = count_user_posts($author_id, 'post', true);
$followers = 0;