Viewing File: /home/maglabs/etascom/wp-content/themes/agenzio/inc/classes/class-footer.php

<?php

if (!class_exists('agenzio_Footer')) {

    class agenzio_Footer
    {
        public function getFooter()
        {
            if(is_singular('elementor_library')) return;
            
            $footer_layout = (int)agenzio()->get_opt('footer_layout');
            
            if ($footer_layout <= 0 || !class_exists('Pxltheme_Core') || !is_callable( 'Elementor\Plugin::instance' )) {
                get_template_part( 'template-parts/footer/default');
            } else {
                $args = [
                    'footer_layout' => $footer_layout
                ];
                get_template_part( 'template-parts/footer/elementor','', $args );
            } 

            // Back To Top
            $back_totop_on = agenzio()->get_theme_opt('back_totop_on', true);
            $back_top_top_style = agenzio()->get_opt('back_top_top_style', 'style-default');
            if (isset($back_totop_on) && $back_totop_on) : ?>
                <a class="pxl-scroll-top <?php echo esc_attr($back_top_top_style); ?>" href="#">
                    <i class="caseicon-angle-arrow-up"></i>
                    <svg class="pxl-scroll-progress-circle" width="100%" height="100%" viewBox="-1 -1 102 102">
                        <path d="M50,1 a49,49 0 0,1 0,98 a49,49 0 0,1 0,-98"/>
                    </svg>
                </a>
            <?php endif;

            // Mouse Move Animation
            agenzio_mouse_move_animation();

            // Cookie Policy
            agenzio_cookie_policy();

            // Subscribe Popup
            agenzio_subscribe_popup();
            
        }
 
    }
}
 
Back to Directory File Manager