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

?>

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

<footer id="colophon" class="site-footer" role="contentinfo">
	<div class="footer-wrapmain">
			<div class="footer-column-wrapper">

			<?php if ( is_active_sidebar( 'footerwidget-1' ) ) : ?>
				<div class="footer-column-three footer-column-left">
					<?php dynamic_sidebar( 'footerwidget-1' ); ?>
				</div>
			<?php endif; ?>

			<?php if ( is_active_sidebar( 'footerwidget-2' ) ) : ?>
			<div class="footer-column-three footer-column-middle">
				<?php dynamic_sidebar( 'footerwidget-2' ); ?>
			</div>
		<?php endif; ?>

		<?php if ( is_active_sidebar( 'footerwidget-3' ) ) : ?>
		<div class="footer-column-three footer-column-right">
			<?php dynamic_sidebar( 'footerwidget-3' ); ?>				
		</div>
	<?php endif; ?>
	</div>

		<div class="site-info">
			&copy;<?php echo date('Y'); ?> <?php bloginfo( 'name' ); ?>
			<!-- Delete below lines to remove copyright from footer -->
			<span class="footer-info-right">
				<?php echo __(' | Created with WordPress and', 'creativeily') ?> <a href="<?php echo esc_url('https://superbthemes.com/', 'creativeily'); ?>" rel="nofollow noopener"><?php echo __('SuperbThemes.com', 'creativeily') ?></a>
			</span>
			<!-- Delete above lines to remove copyright from footer -->
</div>
</footer><!-- #colophon -->
</div><!-- .site-content-contain -->
</div><!-- #page -->
<?php wp_footer(); ?>

</body>
</html>
