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:
@@ -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()
|
||||
: [];
|
||||
|
||||
Reference in New Issue
Block a user