File: /volume1/web/wp-content/themes/educational-zone/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 Educational Zone
*/
?>
</div>
</div>
</div>
<footer id="colophon" class="site-footer border-top">
<div class="container py-3">
<div class="footer-column">
<div class="row">
<?php if(is_active_sidebar( 'educational-zone-footer1' ) || is_active_sidebar( 'educational-zone-footer2' ) || is_active_sidebar( 'educational-zone-footer3' ) ): ?>
<div class="col-lg-4 col-md-4">
<?php if(is_active_sidebar( 'educational-zone-footer1' )):
dynamic_sidebar( 'educational-zone-footer1' );
endif;
?>
</div>
<div class="col-lg-4 col-md-4">
<?php if(is_active_sidebar( 'educational-zone-footer2' )):
dynamic_sidebar( 'educational-zone-footer2' );
endif;
?>
</div>
<div class="col-lg-4 col-md-4">
<?php if(is_active_sidebar( 'educational-zone-footer3' )):
dynamic_sidebar( 'educational-zone-footer3' );
endif;
?>
</div>
<?php endif; ?>
</div>
</div>
<?php if ( has_nav_menu( 'footer' ) ): ?>
<nav class="navbar footer-menu">
<?php
wp_nav_menu( array(
'theme_location' => 'footer',
'container' => 'div',
'container_id' => 'main-nav',
'menu_id' => false,
'depth' => 1,
) );
?>
</nav>
<?php endif ?>
<div class="site-info">
<div class="footer-menu-left">
<?php if(! get_theme_mod('educational_zone_footer_text_setting') != ''){ ?>
<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'educational-zone' ) ); ?>">
<?php
/* translators: %s: CMS name, i.e. WordPress. */
printf( esc_html__( 'Proudly powered by %s', 'educational-zone' ), 'WordPress' );
?>
</a>
<span class="sep mr-1"> | </span>
<span>
<a target="_blank" href="<?php echo esc_url( __( 'https://www.themagnifico.net/themes/free-education-wordpress-theme/', 'educational-zone' ) ); ?>">
<?php
/* translators: 1: Theme name, */
printf( esc_html__( ' %1$s ', 'educational-zone' ),'Educational WordPress Theme' );
?>
</a>
<?php
/* translators: 1: Theme author. */
printf( esc_html__( 'by %1$s.', 'educational-zone' ),'TheMagnifico' );
?>
</span>
<?php }?>
<?php echo esc_html(get_theme_mod('educational_zone_footer_text_setting','')); ?>
</div>
<?php if ( has_nav_menu( 'social' ) ): ?>
<nav class="navbar footer-menu-right social-menu">
<?php
wp_nav_menu( array(
'theme_location' => 'social',
'container' => 'div',
'container_id' => 'main-nav',
'menu_id' => false,
'depth' => 1,
) );
?>
</nav>
<?php endif ?>
</div>
<a id="button"><?php esc_html_e('TOP','educational-zone'); ?></a>
</div>
</footer>
</div>
<?php wp_footer(); ?>
</body>
</html>