-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
60 lines (46 loc) · 2.04 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
<?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 Allure_Studio
*/
?>
<footer id="colophon" class="footer-section">
<div class="footer-left">
<?php $footer_info = get_field('footer_info', 'option'); ?>
<p> <?php echo $footer_info["address"]; ?></p>
<?php $footer_info = get_field('footer_info', 'option'); ?>
<p><a href="mailto:<?php echo $footer_info["email"]; ?>"><?php echo $footer_info["email"]; ?></a></p>
<p><a href="tel:<?php echo $footer_info["phone_number"]; ?>"><?php echo $footer_info["phone_number"]; ?></a></p>
<p><?php echo $footer_info["info_text"]; ?></p>
</div>
<div class="footer-middle">
<span> © <?php esc_html_e('2023', 'allure-studio'); ?> </span>
<span><?php esc_html_e('Allure Studio', 'allure-studio'); ?></span>
</div>
<div class="footer-right">
<?php $social_media_accounts = get_field('social_media', 'option'); ?>
<p class="faq">
<a href="<?php echo get_permalink(102); ?>">FAQ</a>
</p>
<p><?php if(isset($social_media_accounts["instagram_link"])) : ?>
<a href="<?php echo esc_url($social_media_accounts["instagram_link"]); ?>">
<svg width="30px" height="30px" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11 3.5H12M4.5 0.5H10.5C12.7091 0.5 14.5 2.29086 14.5 4.5V10.5C14.5 12.7091 12.7091 14.5 10.5 14.5H4.5C2.29086 14.5 0.5 12.7091 0.5 10.5V4.5C0.5 2.29086 2.29086 0.5 4.5 0.5ZM7.5 10.5C5.84315 10.5 4.5 9.15685 4.5 7.5C4.5 5.84315 5.84315 4.5 7.5 4.5C9.15685 4.5 10.5 5.84315 10.5 7.5C10.5 9.15685 9.15685 10.5 7.5 10.5Z" stroke="#000000"/>
</svg>
</a>
</p>
<p class="privacy-policy">
<?php the_privacy_policy_link(); ?>
<a href="<?php echo get_permalink(3); ?>">Privacy Policy</a>
</p>
<?php endif; ?>
</div>
</footer><!-- #colophon -->
<?php wp_footer(); ?>
</body>
</html>