<?php
/**
* The template for displaying the footer
*
* Contains footer content and the closing of the #main and #page div elements.
*
* @package WordPress
* @subpackage TemplateMela
* @since TemplateMela 1.0
*/
?>
<?php tm_content_after(); ?>
</div>
<!-- .main-content-inner -->
</div>
<!-- .main_inner -->
</div>
<!-- #main -->
<?php tm_footer_before(); ?>
<footer id="colophon" class="site-footer" role="contentinfo">
<?php if ( is_active_sidebar( 'footer-newsletter-area' ) ) : ?>
<div class="footer-newsletter">
<?php dynamic_sidebar('footer-newsletter-area'); ?>
</div>
<?php endif; ?>
<?php tm_footer_inside(); ?>
<div class="footer_top">
<div class="footer_top_container theme-container">
<?php get_sidebar('footer'); ?>
<?php if ( is_active_sidebar( 'footer-social-area' )) : ?>
<div class="footer-social-us">
<?php if ( is_active_sidebar( 'footer-social-area' ) ) : ?>
<?php dynamic_sidebar('footer-social-area'); ?>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
<!-- .footer-bottom -->
</div>
<div class="footer-bottom">
<div class="footer-bottom-container theme-container">
<div class="footer-bottom-left">
<div class="site-info"> <?php echo esc_html__( 'Copyright', 'foodstuff' ); ?> © <?php echo esc_attr(date('Y')); ?> <a href="<?php echo esc_url(get_option('tm_footer_link')); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php echo esc_attr(get_option('tm_footer_slog'));?>
</a>
<?php do_action( 'tm_credits' ); ?>
</div>
</div>
<?php if ( is_active_sidebar( 'fourth-footer-widget-area' ) ) : ?>
<div class="footer-bottom-right"><?php dynamic_sidebar( 'fourth-footer-widget-area' ); ?></div>
<?php endif; ?>
</div>
</div>
<!--. Footer inner -->
</footer>
<!-- #colophon -->
<?php tm_footer_after(); ?>
</div>
<!-- #page -->
<?php tm_go_top(); ?>
<?php tm_get_widget('before-end-body-widget'); ?>
<?php wp_footer(); ?>
</body>
</html>