laipower/wp-content/themes/twentynineteen/template-parts/footer/footer-widgets.php

25 lines
507 B
PHP
Raw Normal View History

<?php
/**
* Displays the footer widget area
*
* @package WordPress
* @subpackage Twenty_Nineteen
* @since Twenty Nineteen 1.0
*/
if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
<aside class="widget-area" aria-label="<?php esc_attr_e( 'Footer', 'twentynineteen' ); ?>">
<?php
if ( is_active_sidebar( 'sidebar-1' ) ) {
?>
<div class="widget-column footer-widget-1">
<?php dynamic_sidebar( 'sidebar-1' ); ?>
</div>
<?php
}
?>
</aside><!-- .widget-area -->
<?php endif; ?>