<?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 travelfic
 */

$travelfic_enable_scroll_to_top = get_theme_mod('travelfic_customizer_settings_enable_scroll_to_top', '0');

do_action('travelfic_before_footer');
   echo apply_filters('travelfic_footer', $travelfic_footer = '');
do_action('travelfic_after_footer');
?>

<!-- Travelfic scroll to top -->
<?php if ($travelfic_enable_scroll_to_top): ?>
   <div class="tft-scroll-to-top-wrap">
      <a href="#" class="tft-scroll-to-top" title="Go To Top">
         <i class="fas fa-chevron-up"></i>
      </a>
   </div>
<?php endif; ?>

</div><!-- #page -->

<?php wp_footer(); ?>

</body>

</html>