<?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('name'); ?>
								</a>
								<?php echo esc_html( date_i18n( 'Y' ) ); ?>
							</p>

							<p class="grshop-grocery-footer__devs">
								<?php
								printf(
									esc_html__( 'Theme %2$s By %1$s', 'grshop-grocery' ),
									// 👉 Your Company URL
									'<a href="' . esc_url('https://rswpthemes.com') . '" target="_blank">RS WP THEMES</a>',
									// 👉 Theme URL
									'<a href="' . esc_url('https://rswpthemes.com/shofy-premium-multipurpose-woocommerce-theme/') . '" target="_blank">Gshop Grocery</a>'
								);
								?>
							</p>
						</div>
					</div>
				</div>
			</div>
		</div>
	</footer>

</div><!-- End Page -->

<?php wp_footer(); ?>

</body>
</html>
