fix(header): render slider component on paged archive pages like reference

The reference theme has no pagination exclusion: /tag/x/page/2 and
friends still show the header slider (and its icon cards). Drop the
local paged>1 early return so the display scope matches.
This commit is contained in:
2026-09-19 17:36:50 +08:00
parent ad714bb59c
commit 3d5bd6fb8b
+2 -4
View File
@@ -117,10 +117,8 @@ if (!function_exists('aksrt_header_slide_is_show')) {
return false;
}
if ((int) $wp_query->get('paged') > 1 || (int) $wp_query->get('page') > 1) {
return false;
}
// legacy (Zibll) renders the slider on paged archive pages too; no
// pagination exclusion here.
$settings = class_exists('\\AKSRT\\Settings\\Settings')
? \AKSRT\Settings\Settings::get_header_slider_settings()
: [];