CoreFiles by mySites.guru
footer-widgets.php35 lines, 753 bytes, from wordpress-5.5.21.zip
Raw History Compare with 5.5.20
md5
30418195a3075cc315ac10c603fff0d3
sha1
08d53af8f0baaa55726b1fde380940a82f8ec7ec
sha256
26b97fe9288f1b830426d1d2b086573a297968f9b19d9cf537b141a1f7259e0c
<?php
/**
 * Displays footer widgets if assigned
 *
 * @package WordPress
 * @subpackage Twenty_Seventeen
 * @since Twenty Seventeen 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 73 releases, WordPress 5.4-beta1 to 5.5.25. See them all, or every version of this file.