HEX
Server: LiteSpeed
System: Linux premium260.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
User: aliazzsr (627)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/aliazzsr/trn2.mesegroup.de/wp-content/themes/best-shop/footer.php
<?php
/**
 * The template for displaying the footer
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package Best_Shop
 */
    $social_links = best_shop_get_setting( 'social_links' );
?>
	<footer id="colophon" class="site-footer" itemscope itemtype="https://schema.org/WPFooter" >
        <div class="footer-overlay">
        <?php 
        
        $footer_sidebars = array( 'advanced-footer-widget-1', 'advanced-footer-widget-2', 'advanced-footer-widget-3', 'advanced-footer-widget-4' );
        $active_sidebars = array();
        $sidebar_count   = 0;
        
        foreach ( $footer_sidebars as $sidebar ) {
            if( is_active_sidebar( $sidebar ) ){
                array_push( $active_sidebars, $sidebar );
                $sidebar_count++ ;
            }
        } 
        
        if( $active_sidebars && $sidebar_count > 0 ){ ?>
            <div class="footer-top">
                <div class="container">
                    <div class="grid column-<?php echo esc_attr( $sidebar_count ); ?>">
                    <?php foreach( $active_sidebars as $active ){ ?>
                        <div class="col">
                           <?php dynamic_sidebar( $active ); ?> 
                        </div>
                    <?php } ?>
                    </div>
                </div>
            </div>
        <?php 
        }      
        
        
        ?>
        <div class="footer-bottom">
            
            <?php
                if( has_nav_menu( 'footer-menu' ) ): ?>            
            <div class="container">

                    <div class="footer-bottom-menu">
                            <?php
                                wp_nav_menu( array(
                                    'theme_location' => 'footer-menu',
                                    'menu_class'     => 'footer-bottom-links',
                                    'fallback_cb'    => false,
                                    'depth'          => 1,
                                ) );
                            ?>
                    </div> 

            </div>
                 <?php 
                endif;
            
            
            ?>           
            
        </div>
       
        </div>        
    </footer>
</div><!-- #page -->

<?php  wp_footer(); ?>

</body>
</html>