Rename sidebar to sidebar-1
Matches the parent theme, so widgets should be pre-placed.
This commit is contained in:
parent
6acc6b22a5
commit
91cdf824f2
2 changed files with 12 additions and 6 deletions
|
|
@ -7,14 +7,14 @@
|
|||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
if ( is_active_sidebar( 'tw-sidebar' ) ) : ?>
|
||||
if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
|
||||
|
||||
<aside class="widget-area" role="complementary" aria-label="<?php esc_attr_e( 'Footer', 'twentynineteen' ); ?>">
|
||||
<?php
|
||||
if (is_active_sidebar('tw-sidebar')) {
|
||||
if (is_active_sidebar('sidebar-1')) {
|
||||
?>
|
||||
<div class="widget flex flex-wrap -mx-6">
|
||||
<?php dynamic_sidebar('tw-sidebar'); ?>
|
||||
<?php dynamic_sidebar('sidebar-1'); ?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue