-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
75 lines (67 loc) · 2.64 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
<?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 reevai
*/
?>
<footer id="footer" class="site-footer" data-aos="fade-top">
<div class="container">
<div class="row">
<div class="col-lg-6" data-aos="fade-right" data-aos-delay="150">
<h1><?php _e('Mám záujem o cenovú ponuku', 'reevai') ?></h1>
<?php the_field('contact_form', 'options'); ?>
</div>
<div class="col-lg-6" data-aos="fade-left" data-aos-delay="150">
<?php
$email = get_field('email', 'options');
$phone = get_field('phone', 'options');
$company = get_field('company', 'options');
$adress = get_field('adress', 'options');
$gdpr = get_field('gdpr_link', 'options');
?>
<strong><?php _e('Kontakné údaje', 'reevai') ?></strong>
<?php if ($email) {
echo '<a href="mailto:'. $email .'">'. $email .'</a>';
} ?>
<?php if ($phone) {
echo '<a href="mailto:'. $phone .'">'. $phone .'</a>';
} ?>
<?php if ($company) {
echo '<span>'. $company .'</span>';
} ?>
<?php if ($adress) {
echo '<span>'. $adress .'</span>';
} ?>
<?php if ($phone) {
echo '<a href="'. $gdpr .'" target="_blank">'. __('Vyhlásenie o ochrane osobných údajov', 'reevai') .'</a>';
} ?>
<strong><?php _e('Sledujte nás', 'reevai') ?></strong>
<div class="social-sites">
<a href=""><img src="<?php echo get_template_directory_uri(); ?>/images/fb.png" alt=""></a>
<a href=""><img src="<?php echo get_template_directory_uri(); ?>/images/instagram.png" alt=""></a>
</div>
</div>
</div>
</div>
<div class="copyright">
<span>Všetky práva vyhradené © 2019 Reevai
</span>
</div>
</footer>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-136849745-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-136849745-1');
</script>
<?php wp_footer(); ?>
</script>
</body>
</html>