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

27 lines
506 B
PHP
Raw Normal View History

2024-05-20 15:37:46 +03:00
<?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;