Start overridding footer widgets
This commit is contained in:
parent
585d907279
commit
dd7b79f395
2 changed files with 38 additions and 0 deletions
|
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
/**
|
||||
* Displays the footer widget area
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
if ( is_active_sidebar( 'tw-sidebar' ) ) : ?>
|
||||
|
||||
<aside class="widget-area" role="complementary" aria-label="<?php esc_attr_e( 'Footer', 'twentynineteen' ); ?>">
|
||||
<?php
|
||||
if (is_active_sidebar('tw-sidebar')) {
|
||||
?>
|
||||
<div class="flex flex-wrap -mx-6">
|
||||
<?php dynamic_sidebar('tw-sidebar'); ?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</aside><!-- .widget-area -->
|
||||
|
||||
<?php endif; ?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue