File: //home/bristolfilton.co.uk/public_html/wp-content/themes/maxbusiness/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 MaxBusiness
*/
?>
</div><!-- #content -->
<?php
$footer_widget = array(
'name' => esc_html__( 'Footer Widget Area', 'maxbusiness' ),
'id' => 'footer-widget-area',
'description' => esc_html__( 'footer widget area', 'maxbusiness' ),
'before_widget' => '<div class="col-md-3 col-sm-6 footer-widget">',
'after_widget' => '</div>',
'before_title' => '<div class="row widget-heading"><h2>',
'after_title' => '</h2></div>',
);
?>
<footer>
<div class="container-fluid cs-footer">
<div class="container">
<div class="row cs-footer-widget">
<?php
if ( is_active_sidebar( 'footer-widget-area' ) ) {
dynamic_sidebar( 'footer-widget-area');
}else{
the_widget('WP_Widget_Calendar', 'title='.esc_attr__('Calendar', 'maxbusiness'), $footer_widget);
the_widget('WP_Widget_Categories', null, $footer_widget);
the_widget('WP_Widget_Pages', null, $footer_widget);
the_widget('WP_Widget_Archives', null, $footer_widget);
}
?>
</div>
</div>
</div>
<div class="container-fluid cs-footercopy">
<div class="container">
<div class="row cs-foots">
<p>© <?php echo esc_html(date('Y')).' '; bloginfo( 'name' ); ?> | <?php printf( esc_html__( 'Theme by %1$s', 'maxbusiness' ), '<a href="'.esc_url('https://www.codeins.org').'" rel="designer">CODEINS</a>' ); ?></p>
</div>
</div>
</div>
</footer>
</div><!-- .wrapper -->
<?php wp_footer(); ?>
</body>
</html>