feat(widgets): ranking identity, moderators follow, plate chrome

Align UserRanking to zibll user-ranking-item + aksrt_get_user_name + badg,
render moderators via shared rows with follow, deepen plate info cover/stats,
and clean forum tab/terms empty shells.
This commit is contained in:
2026-07-21 10:39:17 +08:00
parent 9c5ac01119
commit 8b5ca8f287
5 changed files with 335 additions and 299 deletions
+2 -2
View File
@@ -83,7 +83,7 @@ class WidgetForumTopicTerms extends \WP_Widget {
continue;
}
$icon = (string) get_term_meta($term->term_id, '_aksrt_icon', true);
echo '<a class="aksrt-ftag-item" href="' . esc_url($link) . '">';
echo '<a class="aksrt-ftag-item but p2-10' . ($style === 'card' ? ' is-card' : '') . '" href="' . esc_url($link) . '">';
if ($icon !== '') {
echo '<i class="' . esc_attr($icon) . '" aria-hidden="true"></i> ';
}
@@ -106,7 +106,7 @@ class WidgetForumTopicTerms extends \WP_Widget {
echo $args['before_title'] . esc_html($title) . $args['after_title']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
// IAS-style wrap for remote refresh.
echo '<div class="zib-widget padding-6 ajaxpager" data-aksrt-ajaxpager>';
echo '<div class="zib-widget padding-6 aksrt-ftag-wrap">';
echo $html; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
echo '</div>';
echo $args['after_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped