-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
112 lines (100 loc) · 3.29 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
106
107
108
109
110
111
112
<?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 finsweetwp
*/
?>
<footer class="footer">
<div class="footer-top">
<div class="container grid">
<div class="footer-top__info">
<div>
<a href="/">
<?php
$logo_footer = get_field('logo_footer', 'option');
if( !empty( $logo_footer ) ): ?>
<img src="<?php echo $logo_footer;?>" />
<?php endif; ?>
</a>
</div>
<div class="margin-top margin-bottom">
<?php the_field('sub_logo_text', 'option'); ?>
</div>
<div class="footer-contact flex">
<div class="footer-contact_content-left">
<div>
<div class="contact-text"><?php the_field('email_title', 'option'); ?></div>
</div>
<a href="mailto:[email protected]?subject=Project"
><?php the_field('email_text', 'option'); ?></a>
</div>
<div class="footer-contact_content-right">
<div>
<div class="contact-text"><?php the_field('phone_title', 'option'); ?></div>
</div>
<a href="tel:0927627728525"><?php the_field('phone_number', 'option'); ?></a>
</div>
</div>
</div>
<div class="footer-top__talk">
<div class="footer_content">
<div class="margin-bottom">
<h2 class="text-color-white"><?php the_field('footer_left_title', 'option'); ?></h2>
</div>
<div class="margin-bottom">
<p class="text-style-light">
<?php the_field('footer_left_text', 'option'); ?>
</p>
</div>
<div class="footer_social-icons-wrapper">
<?php if (have_rows("social_links","option")) : ?>
<?php while (have_rows("social_links","option")) : the_row();
$social_image = get_sub_field('social_image');?>
<a href="<?php the_sub_field("social_link") ?>" target="_blank"
class="social-link">
<div class="social-icon w-embed">
<?php if (get_sub_field('social_image')) : ?>
<?php echo wp_get_attachment_image( $social_image, 'full social-icon' ); ?>
<?php endif; ?>
</div>
</a>
<?php endwhile; ?>
<?php endif; ?>
</div>
</div>
</div>
</div>
</div>
<div class="footer-bottom">
<div class="container">
<div class="footer_bottom-links-wrapper flex">
<div>Copyright 2022 Wordpress Finsweet</div>
<nav>
<nav role="navigation" class="nav">
<?php
wp_nav_menu(
array(
'theme_location' => 'menu-1',
'menu_id' => 'primary-menu',
)
);
?>
</nav>
</nav>
</div>
</div>
</div>
</footer>
</div><!-- #page -->
<?php wp_footer(); ?>
<div id="dialog-content">
<h3>Send an inquiry</h3>
<?php echo do_shortcode('[contact-form-7 id="164"]');?>
</div>
</body>
</html>