fix 更多栏目

This commit is contained in:
2026-09-05 17:32:18 +08:00
parent 5b89fc200b
commit 05a6b6fc54
28 changed files with 440 additions and 2295 deletions
+3
View File
@@ -152,6 +152,8 @@ if (!function_exists('aksrt_render_post_list')) {
$classes[] = $class;
}
}
// legacy 契约:分页等控件与列表同处一个 .ajaxpager 内,供 runtime post_ajax 提取。
$append_inner_html = (string) ($cfg['append_inner_html'] ?? '');
$html = empty($cfg['skip_wrapper'])
? '<div class="' . esc_attr(implode(' ', array_unique($classes))) . '" data-view="' . esc_attr((string) $cfg['mode']) . '">'
: '';
@@ -168,6 +170,7 @@ if (!function_exists('aksrt_render_post_list')) {
$html .= aksrt_render_post($cfg);
}
}
$html .= $append_inner_html;
if (empty($cfg['skip_wrapper'])) {
$html .= '</div>';
}