<?php
/* ------------------------------------------------------------------------------
* Author: web-zone.org
* @package Airin Blog
* Description: Footer
* ------------------------------------------------------------------------------ */

?>
</div>
<?php
if (get_theme_mod('airinblog_cus_footer', 1) == 1) {
	if (!function_exists('elementor_theme_do_location') || !elementor_theme_do_location('footer')) { ?>
		<footer id="colophon" class="airinblog-css-site-footer">
			<div class="airinblog-css-site-footer-container">
				<?php
				do_action('airinblog_hook_before_footer');
				get_sidebar('footer');
				if (get_theme_mod('airinblog_cus_footer_menu', 1) == 1) {
					echo '<div class="airinblog-css-footer-menu">';
						do_action('airinblog_hook_before_menu_footer');
						wp_nav_menu(array('theme_location' => 'airinblog-loc-menu-footer', 'depth' => 1));
					echo '</div>';
				}
				$brand = get_theme_mod('airinblog_cus_footer_brand', 'Created with the <a href="//web-zone.org/airin-blog" target="_blank" rel="nofollow">WP Theme Airin Blog</a>');
				if (!empty($brand)) {
					echo '<div class="airinblog-css-footer-info">';
						echo wp_kses_post($brand);
					echo '</div>';
				}
				do_action('airinblog_hook_after_footer');
				?>
			</div>
		</footer>
		<?php 
	}
}
?>
</div>
<a href="#" class="airinblog-css-scrollup"></a>
<?php wp_footer(); ?>
</body>
</html>