This commit is contained in:
2026-04-29 19:04:20 +08:00
parent df60e8dd42
commit 07d11a15af
58 changed files with 3937 additions and 520 deletions
+7 -4
View File
@@ -1,6 +1,9 @@
<?php
/**
* The sidebar containing the main widget area
* The sidebar containing the main widget area.
*
* Fixed: each widget is wrapped by the correct Bulma card structure
* registered in functions.php (before_widget / after_widget).
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
@@ -12,7 +15,7 @@ if ( ! is_active_sidebar( 'sidebar-1' ) ) {
}
?>
<div class="columns" style="margin-bottom: 10px;">
<?php dynamic_sidebar( 'sidebar-1' ); ?>
<aside id="secondary" class="widget-area column is-3" role="complementary" aria-label="<?php esc_attr_e( '侧边栏', 'cyywordpress' ); ?>">
<?php dynamic_sidebar( 'sidebar-1' ); ?>
</aside><!-- #secondary -->
</div>