-
Notifications
You must be signed in to change notification settings - Fork 3
/
footer.php
76 lines (71 loc) · 2.15 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
<?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 Walkies
*/
?>
<footer id="colophon" class="site-footer">
<section class="footer-cta" id="contact">
<div class="footer-cta-details">
<?php
if(function_exists('get_field')){
if(get_field('contact_subtitle', 'option')): ?>
<p id="subtitle"><?php the_field('contact_subtitle', 'option'); ?></p>
<?php endif;
if(get_field('contact_heading', 'option')): ?>
<h2><?php the_field('contact_heading', 'option'); ?></h2>
<?php endif; ?>
<?php if(get_field('heading', 'option')): ?>
<section class="contact-info">
<h3><?php the_field('heading', 'option'); ?></h3>
<ul>
<li><a href="mailto:<?php the_field('company_email', 'option'); ?>"><?php the_field('company_email', 'option'); ?></a></li>
<li><a href="tel:+1<?php the_field('company_phone', 'option'); ?>">+1<?php the_field('company_phone', 'option'); ?></a></li>
</ul>
<?php
endif;
get_template_part( 'template-parts/content', 'contact-socials');
?>
</div>
<div class="footer-cta-form">
<?php echo do_shortcode('[gravityform id="1" title="false"]') ?>
</div>
</section>
<?php
}
?>
</section>
<div class="footer-bg">
<div class="footer-section">
<?php the_custom_logo();?>
<div class="footer-left">
<nav class="footer-nav">
<?php
wp_nav_menu(array('theme_location' => 'footer-menu'));
?>
</nav>
</div>
<div class="footer-right">
<?php
get_template_part( 'template-parts/content', 'contact-socials');
?>
<nav>
<ul>
<li><?php esc_html_e('Capycap Team ©', 'walkies'); ?></li>
<li><a href=<?php the_permalink(377); ?>><?php esc_html_e('Privacy Policy', 'walkies'); ?></a></li>
<li><a href=<?php the_permalink(384); ?>><?php esc_html_e('Booking Policy', 'walkies'); ?></a></li>
</ul>
</nav>
</div>
</div>
</div>
</footer><!-- #colophon -->
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>