<?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 One Elementor
 */

?>
</div><!-- #content -->
	<footer id="colophon" class="grshop-grocery-footer">
		<?php if(is_active_sidebar('grshop-grocery-footer-1')) : ?>
		<div class="grshop-grocery-footer__top">
			<div class="container">
				<div class="row">
					<?php if(is_active_sidebar('grshop-grocery-footer-1')) : ?>
						<div class="col-lg-3 col-md-6 col-12">
							<?php dynamic_sidebar('grshop-grocery-footer-1'); ?>
						</div>
					<?php endif; ?>
					<?php if(is_active_sidebar('grshop-grocery-footer-2')) : ?>
						<div class="col-lg-3 col-md-6 col-12">
							<?php dynamic_sidebar('grshop-grocery-footer-2'); ?>
						</div>
					<?php endif; ?>
					<?php if(is_active_sidebar('grshop-grocery-footer-3')) : ?>
						<div class="col-lg-3 col-md-6 col-12">
							<?php dynamic_sidebar('grshop-grocery-footer-3'); ?>
						</div>
					<?php endif; ?>
					<?php if(is_active_sidebar('grshop-grocery-footer-4')) : ?>
						<div class="col-lg-3 col-md-6 col-12">
							<?php dynamic_sidebar('grshop-grocery-footer-4'); ?>
						</div>
					<?php endif; ?>
				</div>
			</div>
		</div>
		<?php endif; ?>
		<div class="grshop-grocery-footer__bottom">
			<div class="container">
				<div class="row">
					<div class="col-12">
						<div class="grshop-grocery-footer__branding text-center">
							<p class="grshop-grocery-footer__site"><?php esc_html_e('&copy; All Right Reserved ','grshop-grocery'); ?> <a class="grshop-grocery-footer__url" href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo('title'); ?></a> <?php echo  esc_html(date_i18n( __( 'Y' , 'grshop-grocery' ) ));?></p>
							<p class="grshop-grocery-footer__devs"><?php
							printf( esc_html__( 'Theme %2$s  By  %1$s', 'grshop-grocery' ), '<a href="#" target="_blank" >PencilWp</a>' , '<a href="#" target="_blank">GRshop Grocery</a>' );?></p>
						</div>
					</div>
				</div>
			</div>
		</div>
	</footer>
	
</div><!-- End Page -->

<?php wp_footer(); ?>

</body>
</html>
