Uname: Linux premium294.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.16.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : sidebar-second-footer.php
<?php
/**
 * The sidebar containing the footer widget area
 *
 * If no active widgets in this sidebar, hide it completely.
 *
 * @package WordPress
 * @subpackage Liviza
 * @since Liviza 1.0
 */
global $liviza_theme_options;
$footer_col = '3_3_3_3';
if( !empty($liviza_theme_options['second_footer_column_layout']) ){
	$footer_col = esc_html($liviza_theme_options['second_footer_column_layout']);
}
?>
<?php if ( themecheck_if_widget_position_content( 'second-footer-1-widget-area' ) ||
		   themecheck_if_widget_position_content( 'second-footer-2-widget-area' ) ||
		   themecheck_if_widget_position_content( 'second-footer-3-widget-area' ) ||
		   themecheck_if_widget_position_content( 'second-footer-4-widget-area' ) ) : ?>
<div id="second-footer" class="sidebar-container second-footer<?php echo themestek_sanitize_html_classes(themestek_footer_row_class( 'second' )); ?>" role="complementary">
	<div class="second-footer-bg-layer themestek-bg-layer"></div>
	<div class="<?php echo themestek_sanitize_html_classes(themestek_footer_container_class()); ?>">
		<div class="second-footer-inner">
			<div class="row multi-columns-row">
				<?php if($footer_col == '3_3_3_3'){ ?>
					<?php if ( is_active_sidebar( 'second-footer-1-widget-area' ) ) : ?>
					<div class="widget-area col-xs-12 col-sm-6 col-md-3 col-lg-3">
						<?php dynamic_sidebar( 'second-footer-1-widget-area' ); ?>
					</div><!-- .widget-area -->
					<?php endif; ?>
					<?php if ( is_active_sidebar( 'second-footer-2-widget-area' ) ) : ?>
					<div class="widget-area col-xs-12 col-sm-6 col-md-3 col-lg-3">
						<?php dynamic_sidebar( 'second-footer-2-widget-area' ); ?>
					</div><!-- .widget-area -->
					<?php endif; ?>
					<?php if ( is_active_sidebar( 'second-footer-3-widget-area' ) ) : ?>
					<div class="widget-area col-xs-12 col-sm-6 col-md-3 col-lg-3">
						<?php dynamic_sidebar( 'second-footer-3-widget-area' ); ?>
					</div><!-- .widget-area -->
					<?php endif; ?>
					<?php if ( is_active_sidebar( 'second-footer-4-widget-area' ) ) : ?>
					<div class="widget-area col-xs-12 col-sm-6 col-md-3 col-lg-3">
						<?php dynamic_sidebar( 'second-footer-4-widget-area' ); ?>
					</div><!-- .widget-area -->
					<?php endif; ?>
				<?php } else {
					$footer_col = explode('_', $footer_col);
					if( is_array($footer_col) && count($footer_col)>0 ){
						$x = 1;
						foreach($footer_col as $col){
							$sm_col = $md_col = $lg_col = $col;
							$sm_col = '6';
							// ROW width class
							$row_class = 'col-xs-12 col-sm-'.$sm_col.' col-md-'.$md_col.' col-lg-'.$lg_col;
							if ( is_active_sidebar( 'second-footer-'.$x.'-widget-area' ) ) : ?>
								<div class="widget-area <?php echo themestek_sanitize_html_classes($row_class); ?> second-widget-area">
									<?php dynamic_sidebar( 'second-footer-'.$x.'-widget-area' ); ?>
								</div><!-- .widget-area -->
							<?php endif;
							$x++;
						} // Foreach
					} // If
			} // if end ?>
			</div><!-- .row.multi-columns-row -->
		</div><!-- .second-footer-inner -->
	</div><!--  -->
</div><!-- #secondary -->
<?php endif; ?>
© 2025 XylotrechusZ