-
Notifications
You must be signed in to change notification settings - Fork 2
/
footer.php
executable file
·52 lines (46 loc) · 1.76 KB
/
footer.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php do_action('tracks_main_bottom'); ?>
</div> <!-- .main -->
<?php
// Elementor `footer` location
if (! function_exists('elementor_theme_do_location') || ! elementor_theme_do_location('footer')) :
?>
<footer id="site-footer" class="site-footer" role="contentinfo">
<?php get_template_part('logo', '', ['context' => 'footer']) ?>
<?php if (get_bloginfo('description') && (get_theme_mod('tagline_display_setting') == 'header-footer') || (get_theme_mod('tagline_display_setting') == 'footer')) { ?>
<p class="site-description">
<?php esc_html(bloginfo('description')); ?>
</p>
<?php }
get_template_part('menu', 'footer');
if ((get_theme_mod('social_icons_display_setting') == 'header-footer') || (get_theme_mod('social_icons_display_setting') == 'footer')) {
get_template_part('content/social-icons');
}
get_template_part('sidebar', 'footer');
?>
<div class="design-credit">
<p>
<?php
$footer_text = get_theme_mod('ct_tracks_footer_text_setting');
if (empty($footer_text)) {
$footer_text = sprintf(__('<a target="_blank" href="%1$s" rel="nofollow">%2$s WordPress Theme</a> by Compete Themes.', 'tracks'), 'https://www.competethemes.com/tracks/', wp_get_theme(get_template()));
}
echo do_shortcode(wp_kses_post($footer_text));
?>
</p>
</div>
</footer>
<?php endif; ?>
<?php if (get_theme_mod('additional_options_return_top_settings') != 'hide') { ?>
<button id="return-top" class="return-top">
<i class="fas fa-arrow-up"></i>
</button>
<?php }
do_action('tracks_overflow_bottom');
if (get_theme_mod('ct_tracks_background_image_setting')) {
echo "<div class='background-image'></div>";
}
?>
</div><!-- .overflow-container -->
<?php wp_footer(); ?>
</body>
</html>