<?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 the-angle
 */

?>

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

	<footer id="colophon" class="site-footer">
		<!-- Fotter Widget Area -->
		 <div id="footer-widgets" class="footer-wrap">
					 <div class="tc-container">
						<div id="the-angle-footer-one">
							<?php
							if(is_active_sidebar('the-angle-footer-one')){
							dynamic_sidebar('the-angle-footer-one');
							}
							?>
						 </div>
					     <div id="the-angle-footer-two">
						    <?php
						    if(is_active_sidebar('the-angle-footer-two')){
							dynamic_sidebar('the-angle-footer-two');
							 }
							?>
						</div>
						<div id="the-angle-footer-three">
							<?php
						    if(is_active_sidebar('the-angle-footer-three')){
								dynamic_sidebar('the-angle-footer-three');
										}
							?>
						</div>	
					</div>
			</div>
		 <div id="footer-widgets" class="footer-wrap">
			<div class="tc-container">
					<div id="the-angle-menu-cart">
					   <?php
						if(is_active_sidebar('the-angle-menu-cart')){
							 dynamic_sidebar('the-angle-menu-cart');
					    }
						?>
				   </div>
			</div>
			</div>
		<div class="site-info">
			 <div class="footer-copyright">
                <span class="copyright-text"><?php echo wp_kses_post( get_theme_mod( 'the_angle_copyright_text'));?></span>
    			<span class="sep"> | </span>
    			<?php 
    				printf( esc_html__( 'The Angle by %1$s.', 'the-angle' ), '<a href="'.esc_url( 'www.wpthemescloud.com/' ).'" rel="designer">'.esc_html__('Wpthemescloud', 'the-angle').'</a>' ); 
                ?>
	       </div>
            <div class="footer_social_icon_front_footer">
	                     <?php 
	                     $the_angle_footer_social_link = (get_theme_mod('the_angle_footer_social_section','no') == 'yes');
	                     if($the_angle_footer_social_link){
	                       do_action('the_angle_footer_social_link_action');
	                     } ?>
	            </div>
		</div><!-- .site-info -->
	</footer><!-- #colophon -->
</div><!-- #page -->

<?php wp_footer(); ?>

</body>
</html>
