-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
executable file
·105 lines (89 loc) · 4.12 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
94
95
96
97
98
99
100
101
102
103
104
105
<!--==================== FOOTER ====================-->
<footer class="footer section">
<div class="footer__container container grid">
<div class="footer__content">
<a href="<?php echo esc_url(home_url()); ?>" class="footer__logo">
<i class="ri-leaf-line footer__logo-icon"></i>
<?php bloginfo( 'title-tag' ); ?>
</a>
<p class="footer_desc">
<?php echo plantex_get_option('footer_description'); ?>
</p>
</div>
<div class="footer__content">
<h3 class="footer__title">
<?php echo plantex_get_option('address_area_title'); ?>
</h3>
<?php echo plantex_get_option('address'); ?>
</div>
<div class="footer__content">
<h3 class="footer__title"><?php echo plantex_get_option('contact_area_title'); ?></h3>
<ul class="footer__data">
<li class="footer__information">
<?php echo plantex_get_option('contact_phone_number'); ?>
</li>
<div class="footer__social">
<?php if(plantex_get_option('plantex_facebook')) : ?>
<a href="<?php echo plantex_get_option('plantex_facebook'); ?>" class="footer__social-link">
<i class="ri-facebook-fill"></i>
</a>
<?php
endif;
if(plantex_get_option('plantex_instagram')) :
?>
<a href="<?php echo plantex_get_option('plantex_instagram'); ?>" class="footer__social-link">
<i class="ri-instagram-line"></i>
</a>
<?php
endif;
if(plantex_get_option('plantex_twitter')) :
?>
<a href="<?php echo plantex_get_option('plantex_twitter'); ?>" class="footer__social-link">
<i class="ri-twitter-fill"></i>
</a>
<?php
endif;
if(plantex_get_option('plantex_linkedin')) :
?>
<a href="<?php echo plantex_get_option('plantex_linkedin'); ?>" class="footer__social-link">
<i class="ri-linkedin-fill"></i>
</a>
<?php
endif;
if(plantex_get_option('plantex_whatsapp')) :
?>
<a href="<?php echo plantex_get_option('plantex_whatsapp'); ?>" class="footer__social-link">
<i class="ri-whatsapp-line"></i>
</a>
<?php endif; ?>
</div>
</ul>
</div>
<div class="footer__content">
<h3 class="footer__title">
<?php echo plantex_get_option('credit_card_area_title'); ?>
</h3>
<div class="footer__cards">
<?php
$card_thumbs = plantex_get_option('card_thumbs');
$thumbs_count = count((array)$card_thumbs);
for($i = 0; $i < $thumbs_count; $i++) :
?>
<img src="<?php echo $card_thumbs[$i]['thumb_img']['url']; ?>" alt="" class="footer__card">
<?php
endfor;
?>
</div>
</div>
</div>
<p class="footer__copy">
<?php echo plantex_get_option('footer_credit'); ?>
</p>
</footer>
<!--=============== SCROLL UP ===============-->
<a href="#" class="scrollup" id="scroll-up">
<i class="ri-arrow-up-fill scrollup__icon"></i>
</a>
<?php wp_footer(); ?>
</body>
</html>