update
This commit is contained in:
+7
-4
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user