-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
93 lines (81 loc) · 3.22 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?php
/**
*footer.
*
* @package Products_Theme
*/
get_header(); // Include header
?>
</main>
<!--==================== FOOTER ====================-->
<footer class="footer section">
<div class="footer__container container grid">
<div class="footer__content">
<?php if (get_theme_mod('footer_address')) : ?>
<h3 class="footer__title"><?php echo esc_html( get_field('our-information') ); ?></h3>
<ul class="footer__list">
<li><?php echo esc_html(get_theme_mod('footer_address')); ?></li>
<?php if (get_theme_mod('footer_phone')) : ?>
<li><?php echo esc_html(get_theme_mod('footer_phone')); ?></li>
<?php endif; ?>
<?php if (get_theme_mod('footer_phone2')) : ?>
<li><?php echo esc_html(get_theme_mod('footer_phone2')); ?></li>
<?php endif; ?>
</ul>
<?php endif; ?>
</div>
<div class="footer__content">
<h3 class="footer__title"><?php echo esc_html( get_field('about-us') ); ?></h3>
<?php
wp_nav_menu(array(
'theme_location' => 'footer_menu',
'container' => 'ul',
'menu_class' => 'footer__links',
));
?>
</div>
<div class="footer__content">
<h3 class="footer__title"><?php echo esc_html( get_field('product') ); ?></h3>
<ul class="footer__links">
<?php if (get_theme_mod('footer_bikes')) : ?>
<li>
<a href="#" class="footer__link"><?php echo esc_html(get_theme_mod('footer_bikes')); ?></a>
</li>
<?php endif; ?>
<?php if (get_theme_mod('footer_mountain')) : ?>
<li>
<a href="#" class="footer__link"><?php echo esc_html(get_theme_mod('footer_mountain')); ?></a>
</li>
<?php endif; ?>
<?php if (get_theme_mod('footer_electric')) : ?>
<li>
<a href="#" class="footer__link"><?php echo esc_html(get_theme_mod('footer_electric')); ?></a>
</li>
<?php endif; ?>
<?php if (get_theme_mod('footer_electric')) : ?>
<li>
<a href="#" class="footer__link"><?php echo esc_html(get_theme_mod('footer_electric')); ?></a>
</li>
<?php endif; ?>
</ul>
</div>
<div class="footer__content">
<h3 class="footer__title"><?php echo esc_html( get_field('social') ); ?></h3>
<?php
wp_nav_menu(array(
'theme_location' => 'footer-social-menu', // Replace with your menu location name
'container' => 'ul',
'menu_class' => 'footer__social',
));
?>
</div>
</div>
<span class="footer__copy">© Bedimcode. All rigths reserved</span>
</footer>
<!--=============== SCROLL UP ===============-->
<a href="#" class="scrollup" id="scroll-up">
<i class='bx bx-up-arrow-alt scrollup__icon'></i>
</a>
<?php wp_footer(); ?>
</body>
</html>