CoreFiles by mySites.guru
footer-widgets.php35 lines, 736 bytes, from wordpress-5.2.zip
Raw History Compare with 5.1.29
md5
b3d6dadd7e560432993a013541592db4
sha1
7156a5c87d9ac68c7c7845afdacd13f1242b74b1
sha256
16a3a4c1f0ba89dda8314f6eb321598d705d9cdf9259020052a24d9e7f5d9c96
<?php
/**
 * Displays footer widgets if assigned
 *
 * @package WordPress
 * @subpackage Twenty_Seventeen
 * @since 1.0
 * @version 1.0
 */

?>

<?php
if ( is_active_sidebar( 'sidebar-2' ) ||
	is_active_sidebar( 'sidebar-3' ) ) :
	?>

	<aside class="widget-area" role="complementary" aria-label="<?php esc_attr_e( 'Footer', 'twentyseventeen' ); ?>">
		<?php
		if ( is_active_sidebar( 'sidebar-2' ) ) {
			?>
			<div class="widget-column footer-widget-1">
				<?php dynamic_sidebar( 'sidebar-2' ); ?>
			</div>
			<?php
		}
		if ( is_active_sidebar( 'sidebar-3' ) ) {
			?>
			<div class="widget-column footer-widget-2">
				<?php dynamic_sidebar( 'sidebar-3' ); ?>
			</div>
		<?php } ?>
	</aside><!-- .widget-area -->

<?php endif; ?>

The same content is in 118 releases, WordPress 5.1-beta1 to 5.3.28. See them all, or every version of this file.