File: /var/www/ruwebsiteok/wp-content/themes/education-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 Education_Zone
*/
$enabled_sections = education_zone_get_sections();
if( ! ( is_front_page() && ! is_home() ) || ! $enabled_sections ){?>
</div>
</div>
</div><!-- #content -->
<?php } ?>
<footer id="colophon" class="site-footer" role="contentinfo" itemscope itemtype="https://schema.org/WPFooter">
<div class="container">
<?php if( is_active_sidebar( 'footer-one' ) || is_active_sidebar( 'footer-two' ) || is_active_sidebar( 'footer-three' ) ) { ?>
<div class="widget-area">
<div class="row">
<?php if( is_active_sidebar( 'footer-one') ) { ?>
<div class="col"><?php dynamic_sidebar( 'footer-one' ); ?></div>
<?php } ?>
<?php if( is_active_sidebar( 'footer-two') ) { ?>
<div class="col"><?php dynamic_sidebar( 'footer-two' ); ?></div>
<?php } ?>
<?php if( is_active_sidebar( 'footer-three') ) { ?>
<div class="col"><?php dynamic_sidebar( 'footer-three' ); ?></div>
<?php } ?>
</div>
</div>
<?php }
education_zone_footer_bottom();
?>
</div>
</footer><!-- #colophon -->
<div class="footer-overlay"></div>
</div><!-- done for accessibility reasons -->
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>