HEX
Server: Apache
System: Linux p3plzcpnl506847.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: slfopp7cb1df (5698090)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/slfopp7cb1df/public_html/home/wp-content/themes/nanosoft/tmpl/footer-widgets.php
<?php
defined( 'ABSPATH' ) or die();

$classes = array( 'footer-widgets' );

if ( nanosoft_option( 'footer__widgets__full' ) == 'on' ) {
	$classes[] = 'footer-widgets-full';
}

$layout = nanosoft_option( 'footer__widgets__layout' );
$columns = $layout['columns'];
$columnsLayout = $layout['layout'][$columns];
?>

	<?php if ( nanosoft_option( 'footer__widgets' ) == 'on' ): ?>
		<div class="<?php echo esc_attr( join( ' ', $classes ) ) ?>">
			<div class="footer-widgets-inner wrap">
				<div class="footer-aside-wrap">
					<?php foreach( range( 0, $columns - 1 ) as $index ): ?>
					<aside data-width="<?php echo esc_attr( $columnsLayout[$index] ) ?>">
						<?php dynamic_sidebar( sprintf( 'footer-%d', $index + 1 ) ) ?>
					</aside>
					<?php endforeach ?>
				</div>
			</div>
		</div>
	<?php endif ?>