HEX
Server: nginx/1.24.0
System: Linux DGT-WORDPRESS-VM-SERVER 6.14.0-1017-azure #17~24.04.1-Ubuntu SMP Mon Dec 1 20:10:50 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.4.12
Disabled: NONE
Upload Files
File: /mnt/data/dev/dev-mentoring-wp/wp-content/themes/mentoring/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 mentoring
 */
$footer_layout = mentoring_get_option('footer-layout', 'layout-8');
$footer_type = mentoring_get_option('footer_type', 'footer-1');
?>
</div><!-- #content -->
<!-- Page Template Before Header --->
<?php echo mentoring_get_the_page_template('page_template_before_footer', 'enable_page_template_before_footer'); ?>

<footer class="footer <?php echo esc_html($footer_type); ?>">
    <div class="container">
        <div class="row">
             <div class="col-lg-3 col-md-6">
                

                <?php if($footer_type=='footer-1') { ?>
                    <div class="footer_firstsec">
                    <?php 
                    if ( is_active_sidebar( 'footerarea-one' ) ) : ?>
                        <?php dynamic_sidebar( 'footerarea-one' ); ?>
                    <?php endif; ?>
                </div>
                <?php } else { ?>

                    <div class="footer_firstsec">
                    <?php 
                    if ( is_active_sidebar( 'footerarea2-one' ) ) : ?>
                        <?php dynamic_sidebar( 'footerarea2-one' ); ?>
                    <?php endif; ?>
                </div>

                    <?php } ?>

            </div>
            <div class="col-lg-3 col-md-6">
            <?php if($footer_type=='footer-1') { ?>

                <div class="footer_firstsec">
                    <?php 
                    if ( is_active_sidebar( 'footerarea-two' ) ) : ?>
                        <?php dynamic_sidebar( 'footerarea-two' ); ?>
                    <?php endif; ?>
                </div>
                <?php } else { ?>
                    <div class="footer_firstsec">
                    <?php 
                    if ( is_active_sidebar( 'footerarea2-two' ) ) : ?>
                        <?php dynamic_sidebar( 'footerarea2-two' ); ?>
                    <?php endif; ?>
                </div>

                    <?php } ?>  
            </div>
            <div class="col-lg-3 col-md-6">
            <?php if($footer_type=='footer-1') { ?>
                <div class="footer_firstsec">
                    <?php 
                    if ( is_active_sidebar( 'footerarea-three' ) ) : ?>
                        <?php dynamic_sidebar( 'footerarea-three' ); ?>
                    <?php endif; ?>
                </div>
                <?php } else { ?>

                    <div class="footer_firstsec">
                    <?php 
                    if ( is_active_sidebar( 'footerarea2-three' ) ) : ?>
                        <?php dynamic_sidebar( 'footerarea2-three' ); ?>
                    <?php endif; ?>
                </div>

                    <?php } ?>  

            </div>
            <div class="col-lg-3 col-md-6">

            <?php if($footer_type=='footer-1') { ?>

                <div class="footer_firstsec">
                    <?php 
                    if ( is_active_sidebar( 'footerarea-four' ) ) : ?>
                        <?php dynamic_sidebar( 'footerarea-four' ); ?>
                    <?php endif; ?>
                </div>
                <?php } else { ?>

                    <div class="footer_firstsec">
                    <?php 
                    if ( is_active_sidebar( 'footerarea2-four' ) ) : ?>
                        <?php dynamic_sidebar( 'footerarea2-four' ); ?>
                    <?php endif; ?>
                </div>

                    <?php } ?>   
            </div>
        </div>
        
    </div>
    <div class="footer_copyright">
    <div class="container">
        <div class="row">
             <div class="col-md-12">

              <p class="mb-0">© <?php echo date("Y"); ?> <?php esc_html_e('Mentoring. All rights reserved.', 'mentoring'); ?></p>    
             </div>
        </div>
    </div>      
        </div>
</footer>

<?php echo mentoring_get_the_page_template('page_template_after_footer', 'enable_page_template_after_footer'); ?>

</div><!-- #page -->
<!--====== GO TO TOP START ======-->
<?php if (mentoring_get_option('back_to_top')) {
    $custom_icon = mentoring_get_option('back_to_top_icon', 'fas fa-arrow-up');
    $position = mentoring_get_option('back_to_top_position', 'bottom-right');
    $style = mentoring_get_option('back_to_top_style', 'square');
    ?>
    <div class="<?php echo esc_attr($style) ?> sigma_to-top <?php echo esc_attr($position) ?>">
        <i class="<?php echo esc_attr($custom_icon) ?>"></i>
    </div>
<?php } ?>
<!--====== GO TO TOP ENDS ======-->
<?php
// Before footer hook
do_action('mentoring_after_footer');
wp_footer(); ?>
</body>
</html>