-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
112 lines (89 loc) · 3.75 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
/**
* Footer.php
*
* Template file closing the head of the document and containing the footer elements
*/
?>
</main><!-- close Main -->
<footer><!-- Footer -->
<section class="footer-connect">
<div class="row">
<div class="small-12 large-6 columns text-center">
<span class="email">
<i class="fa fa-envelope"></i>
<a href="mailto:[email protected]">[email protected]</a>
</span>
</div>
<div class="small-12 large-6 columns text-center">
<?php if( have_rows('social_profiles', 'option') ): ?>
<span class="social">
Let's Connect:
<?php while ( have_rows('social_profiles', 'option') ) : the_row(); ?>
<a href="<?php the_sub_field('social_url'); ?>" target="_blank"><?php the_sub_field('social_icon'); ?></a>
<?php endwhile; ?>
</span>
<?php else : ?>
<span class="social hide"></span>
<?php endif; ?>
</div>
</div>
</section>
<section class="footer-top">
<div class="hide-for-medium"><!-- Mobile only -->
<div class="row collapse">
<div class="small-6 columns">
<h2 style="color: #fff">Corporate Office</h2>
<p style="color: #fff"><?php the_field('address', 'option') ?> <?php the_field('address_2', 'option') ?></p>
<p style="color: #fff"><?php the_field('city', 'option') ?>, <?php the_field('state', 'option') ?> <?php the_field('zip', 'option') ?></p>
<p style="color: #fff">Phone: <?php the_field('phone', 'option') ?></p>
<p style="color: #fff">Email: <a href="mailto:<?php the_field('email', 'option') ?>" style="color: #fff">Phoenix Area Info</a></p>
</div>
</div>
<div class="row collapse">
<div class="small-6 columns">
<?php if(is_active_sidebar('footer-widget-4')) dynamic_sidebar('footer-widget-4'); ?>
</div>
</div>
</div>
<div class="show-for-medium"><!-- Desktop only -->
<div class="row">
<div class="medium-3 footer-locations columns">
<h2>Corporate Office</h2>
<p><?php the_field('address', 'option') ?> <?php the_field('address_2', 'option') ?></p>
<p><?php the_field('city', 'option') ?>, <?php the_field('state', 'option') ?> <?php the_field('zip', 'option') ?></p>
<p>Phone: <?php the_field('phone', 'option') ?></p>
<p>Email: <a href="mailto:<?php the_field('email', 'option') ?>">Phoenix Area Info</a></p>
</div>
<div class="medium-3 columns">
<?php if(is_active_sidebar('footer-widget-4')) dynamic_sidebar('footer-widget-4'); ?>
</div>
</div>
</div>
</section>
<section class="footer-bottom">
<a class="copyright" href="http://factor1studios.com" target="_blank">Site by <strong>factor1</strong></a>
</section>
</footer><!-- Close Footer -->
<?php wp_footer();
// If we are on the job market pages fire the JS
if( is_page('284') || is_page('318') || is_page('315') ): ?>
<script>
jobMarketFilter();
</script>
<?php endif;?>
<!-- ======================
Remodals!
====================== -->
<div class="remodal" data-remodal-id="1share">
<button data-remodal-action="close" class="remodal-close"></button>
<h2>Share this Job with a friend</h2>
<h4><a href="<?php echo "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]" ?> ">
<?php echo "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]" ?>
</a></h4>
<a href="mailto:?subject=A Great Job&body=Check out this open position <?php echo "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]" ?> ">
Email to a friend
</a>
</div>
</body>
</html>