fix(widgets): isolate article sidebar from generic handlers

This commit is contained in:
2026-08-14 13:41:54 +08:00
parent 5444b8eabe
commit 151cb642fa
3 changed files with 20 additions and 3 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ if (!function_exists('aksrt_single_render_aside')) :
|| is_active_sidebar('sidebar-article')
|| is_active_sidebar('all_sidebar_bottom');
?>
<div class="sidebar" role="complementary" aria-label="<?php esc_attr_e('侧栏', 'aksrt'); ?>">
<div class="aksrt-article-sidebar" role="complementary" aria-label="<?php esc_attr_e('侧栏', 'aksrt'); ?>">
<?php if (!empty($ctx['has_download'])) : ?>
<?php get_template_part('templates/parts/resource-meta-box'); ?>
<?php endif; ?>