HEX
Server: LiteSpeed
System: Linux standart103.isimtescil.net 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User: byildiz (11197)
PHP: 8.2.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/byildiz.com.tr/httpdocs/wp-content/themes/lumex/footer.php
<?php
/**
 * The template for displaying the footer
 *
 * Contains the closing of the #content div and all content after.
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package lumex
 */

?>
        </div>
        <!-- content end -->

        <?php
        $footer_hide = get_field( 'footer_hide' );

        if ( get_field( 'footer_template' ) && get_field( 'custom_footer' ) ) { 
            $footer_template = get_field( 'footer_template' );
        } else {
            $footer_template = get_field( 'footer_template', 'options' );
        }
        ?>

        <?php if ( ! is_404() && ! $footer_hide ) : ?>
        <!-- footer -->
        <footer class="mil-footer">
            <?php
            if ( $footer_template && !\Elementor\Plugin::$instance->preview->is_preview_mode() ) :
                $args = array( 'post_type' => 'hf_templates', 'p' => $footer_template );
                $loop = new WP_Query( $args );
                while ( $loop->have_posts() ) : $loop->the_post();
                the_content();
                endwhile; wp_reset_postdata();
            else :
            ?>
            <div class="mil-footer-1">
                <div class="mil-footer-bottom">
                    <div class="container">
                        <!-- copyright -->
                        <p class="mil-c-m-3 mil-text-sm align-center"><?php echo esc_html__( '© Lumex 2025. All rights reserved.', 'lumex' ); ?></p>
                    </div>
                </div>
            </div>
            <?php endif; ?>
        </footer>
        <!-- footer end -->
        <?php endif; ?>

    </div>
    <!-- wrapper end -->
    
    <?php wp_footer(); ?>

</body>
</html>