<footer itemscope itemtype="http://schema.org/WPFooter">
<?php
if(!is_404()) {
?>
<!---Footer Part-->
<div id="bottom_social" class="footer_wrapper col-md-12">
    <div class="container">
        <div class="row">
            <div class="social">
    
              <?php if(get_theme_mod('social_facebook', '#')): ?>
				<a itemprop="sameAs" target="_blank" href="<?php echo esc_url(get_theme_mod('social_facebook' , '#'), 'air-free'); ?>" class="social_icon"><i class="fa fa-facebook"></i></a>
			<?php endif; ?>
		   
			<?php if(get_theme_mod('social_twitter', '#')): ?>
				<a itemprop="sameAs" target="_blank"  href="<?php echo esc_url(get_theme_mod('social_twitter' , '#'), 'air-free'); ?>" class="social_icon"><i class="fa fa-twitter"></i></a>
			<?php endif; ?>
		   
			<?php if(get_theme_mod('social_pinterest', '#')): ?>
				<a itemprop="sameAs" target="_blank"  href="<?php echo esc_url(get_theme_mod('social_pinterest' , '#'), 'air-free'); ?>" class="social_icon"><i class="fa fa-pinterest"></i></a>
			<?php endif; ?>
		   
			<?php if(get_theme_mod('social_tumblr', '#')): ?>
				<a itemprop="sameAs" target="_blank"  href="<?php echo esc_url(get_theme_mod('social_tumblr' , '#'), 'air-free'); ?>" class="social_icon"><i class="fa fa-tumblr"></i></a>
			<?php endif; ?>
		    </div>

            <div class="copyright">
            	<p>
                     <?php
                     if(get_theme_mod('footer_copyright')) {
						echo html_entity_decode (get_theme_mod('footer_copyright'), ENT_COMPAT);
					}
                    ?>
            	</p>
       <p><a href="http://www.navthemes.com/air-one-page-wordpress-theme">Air Free one page multipurpose theme</a> <?php _e('by' , 'air-free'); ?> <a href="http://www.navthemes.com/">NavThemes</a> 								</p>
                
            </div>

        </div>
    </div>
</div>

<div class="clearfix"></div>
<div class="top_btn">
    <a href="#body" class="page-scroll-button"><img src="<?php echo image('top_img.jpg'); ?>" alt="To Top"></a>
</div>

<!---Footer Part-->
</footer>
</div> <!-- #main_Container end -->
<?php
} //Close if(!is_404()) bracket
wp_footer();
?>
</body>
</html>