2019-03-27 18:21:37 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Displays the footer widget area
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Twenty_Nineteen
|
|
|
|
* @since 1.0.0
|
|
|
|
*/
|
|
|
|
|
2019-04-16 19:25:28 +00:00
|
|
|
if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
|
2019-03-27 18:21:37 +00:00
|
|
|
|
|
|
|
<aside class="widget-area" role="complementary" aria-label="<?php esc_attr_e( 'Footer', 'twentynineteen' ); ?>">
|
|
|
|
<?php
|
2019-04-16 19:25:28 +00:00
|
|
|
if (is_active_sidebar('sidebar-1')) {
|
2019-03-27 18:21:37 +00:00
|
|
|
?>
|
2019-03-28 08:45:56 +00:00
|
|
|
<div class="widget flex flex-wrap -mx-6">
|
2019-04-16 19:25:28 +00:00
|
|
|
<?php dynamic_sidebar('sidebar-1'); ?>
|
2019-03-27 18:21:37 +00:00
|
|
|
</div>
|
|
|
|
<?php
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</aside><!-- .widget-area -->
|
|
|
|
|
|
|
|
<?php endif; ?>
|