mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-30 23:39:42 +01:00
e539bb94dc
To help avoid issues with trailing whitespace, omitting the closing PHP tag at the end of a file is preferred. Props netweb, dd32, yahil, milindmore22, vishalkakadiya, NomNom99, manishsongirkar36, sabernhardt, audrasjb, desrosj. See #40039. Built from https://develop.svn.wordpress.org/trunk@53880 git-svn-id: http://core.svn.wordpress.org/trunk@53439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
27 lines
506 B
PHP
27 lines
506 B
PHP
<?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;
|