<?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 Buconz Starter
 */
  $buconz_footer_copyright_text = get_theme_mod('buconz_footer_copyright_text');
?>
</main>
	<footer class="footer">
		
		<!-- Footer Top -->
		<div class="footer-top">
			<div class="container">
				<div class="row">
					<?php if(is_active_sidebar('buconz-starter-footer-1')) : ?>
						<div class="col-lg-3 col-md-6 col-12">
							<?php dynamic_sidebar('buconz-starter-footer-1'); ?>
						</div>
					<?php endif; ?>
					<?php if(is_active_sidebar('buconz-starter-footer-2')) : ?>
						<div class="col-lg-3 col-md-6 col-12">
							<?php dynamic_sidebar('buconz-starter-footer-2'); ?>
						</div>
					<?php endif; ?>
					<?php if(is_active_sidebar('buconz-starter-footer-3')) : ?>
						<div class="col-lg-3 col-md-6 col-12">
							<?php dynamic_sidebar('buconz-starter-footer-3'); ?>
						</div>
					<?php endif; ?>
					<?php if(is_active_sidebar('buconz-starter-footer-4')) : ?>
						<div class="col-lg-3 col-md-6 col-12">
							<?php dynamic_sidebar('buconz-starter-footer-4'); ?>
						</div>
					<?php endif; ?>
				</div>
			</div>
		</div>
		<!-- End Footer Top -->
		<!-- Copyright -->
		<div class="copyright">
			<div class="container">
				<div class="row d-flex align-items-center">
					<div class="col-lg-6 col-md-6 col-12">
						<div class="copyright-content">
							<?php
								$buconz_footer_copyright_text = get_theme_mod('buconz_footer_copyright_text');
							?>
							<?php if(!empty($buconz_footer_copyright_text)) : ?>
								<?php echo wp_kses_post($buconz_footer_copyright_text); ?>
								<?php
								/* translators: 1: Theme name, 2: Theme author. */
								printf( esc_html__( 'Theme %2$s  By  %1$s', 'buconz-starter' ), '<a href="#" >ordainIT</a>' , '<a href="#">Buconz Starter</a>' );?>
							<?php else : ?>
								<?php esc_html_e('&copy; All Right Reserved ','buconz-starter'); bloginfo('title');?> <?php echo  esc_html(date_i18n( __( 'Y' , 'buconz-starter' ) ));?>
								<?php
								/* translators: 1: Theme name, 2: Theme author. */
								printf( esc_html__( 'Theme %2$s  By  %1$s', 'buconz-starter' ), '<a href="#"  >ordainIT</a>' , '<a href="#">Buconz Starter</a>' );?>
							<?php endif; ?>
						</div>
					</div>
					<div class="col-lg-6 col-md-6 col-12">
						<div class="footre-nav">
							<?php
							wp_nav_menu( array(
								'theme_location' => 'menu-2',
								'menu_id'        => 'footer-menu',
							) );
							?>
						</div>
					</div>
				</div>
			</div>
		</div>
		<!--/ End Copyright -->
	</footer>
		
	<!--/ End footer -->

</div><!-- #page -->

<?php wp_footer(); ?>

</body>
</html>