<?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 BBase_Code
 */

?>

</div><!-- #content -->

<footer id="colophon" class="site-footer bg-primary">
	<div class="footer-widget">
		<div class="container">
			<div class="row">
				<div class="col-md-3 left">
					<?php dynamic_sidebar( 'footer-1' ) ?>
				</div>

				<div class="col-md-6 center">
					<?php dynamic_sidebar( 'footer-2' ) ?>
				</div>

				<div class="col-md-3 right">
					<?php dynamic_sidebar( 'footer-3' ) ?>
				</div>
			</div>
		</div>
	</div>
</footer><!-- #colophon -->

<?php $script = get_field('scripts', 'option');
if($script) echo $script;  ?>

<?php wp_footer(); ?>

</body>
</html>

