File: /home/dtptviut/domains/morsunivers.dk/public_html/wp-content/themes/mts_dropshipping/footer.php
<?php
/**
* The template for displaying the footer.
*/
$mts_options = get_option( MTS_THEME_NAME );
// default = 5
$first_footer_num = empty( $mts_options['mts_first_footer_num'] ) ? 5 : $mts_options['mts_first_footer_num']; ?>
</div><!--#page-->
<?php
if ( ! is_home() && '1' == $mts_options['mts_featured_brands'] && ! empty( $mts_options['mts_brands_carousel'] ) ) {
get_template_part( 'home/section', 'brands-carousel' );
}
?>
<footer id="site-footer" role="contentinfo" itemscope itemtype="http://schema.org/WPFooter">
<?php
if ( $mts_options['mts_first_footer'] ) :
?>
<div class="container">
<div class="footer-widgets first-footer-widgets widgets-num-<?php echo $first_footer_num; ?>">
<?php
for ( $i = 1; $i <= $first_footer_num; $i++ ) {
$sidebar = ( $i == 1 ) ? 'footer-first' : 'footer-first-' . $i;
$class = ( $i == $first_footer_num ) ? 'f-widget last f-widget-' . $i : 'f-widget f-widget-' . $i; ?>
<div class="<?php echo $class; ?>">
<?php if ( ! function_exists( 'dynamic_sidebar' ) || ! dynamic_sidebar( $sidebar ) ) : ?>
<?php endif; ?>
</div>
<?php
}
?>
</div><!--.first-footer-widgets-->
</div><!--.container-->
<?php
endif;
?>
<div class="copyrights">
<div class="container">
<?php
mts_copyrights_credit();
mts_credit_cards();
?>
</div>
</div>
</footer><!--#site-footer-->
</div><!--.main-container-->
<?php mts_footer(); ?>
<?php wp_footer(); ?>
</body>
</html>