-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
executable file
·89 lines (83 loc) · 3.11 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
<?php
/**
* The template for displaying the footer
*
* Contains footer content and the closing of the #main and #page div elements.
*
* @package WordPress
* @subpackage Twenty_Twelve
* @since Twenty Twelve 1.0
*/
?>
</section>
<footer class="footer">
<div class="footer-columns">
<div class="narrow logo">
<a href="/"><img src="<?php bloginfo( 'template_url' ) ?>/img/logo-white.svg" class="logo-footer" /></a>
<div class="footer-address">
<?php print apply_filters( 'the_content', get_field( 'footer-address', 'option' ) ); ?>
</div>
</div>
<div class="wide footer-menus">
<div class="footer-menu">
<h4><?php print wp_get_nav_menu_name("footer-menu-one" ); ?></h4>
<?php wp_nav_menu( array( 'theme_location' => 'footer-menu-one', 'menu_class' => 'nav-menu' ) ); ?>
</div>
<div class="footer-menu">
<h4><?php print wp_get_nav_menu_name("footer-menu-two" ); ?></h4>
<?php wp_nav_menu( array( 'theme_location' => 'footer-menu-two', 'menu_class' => 'nav-menu' ) ); ?>
</div>
<div class="footer-menu">
<h4><?php print wp_get_nav_menu_name("footer-menu-three" ); ?></h4>
<?php wp_nav_menu( array( 'theme_location' => 'footer-menu-three', 'menu_class' => 'nav-menu' ) ); ?>
</div>
<div class="footer-menu">
<h4><?php print wp_get_nav_menu_name("footer-menu-four" ); ?></h4>
<?php wp_nav_menu( array( 'theme_location' => 'footer-menu-four', 'menu_class' => 'nav-menu' ) ); ?>
</div>
<div class="footer-menu">
<h4><?php print wp_get_nav_menu_name("footer-menu-five" ); ?></h4>
<?php wp_nav_menu( array( 'theme_location' => 'footer-menu-five', 'menu_class' => 'nav-menu' ) ); ?>
</div>
</div>
</div>
<div class="footer-columns">
<div class="app-icons mobile-only">
<a href="<?php the_field( 'app-ios', 'option' ) ?>"><img src="<?php bloginfo('template_url') ?>/img/app-ios.svg" /></a>
<a href="<?php the_field( 'app-google', 'option' ) ?>"><img src="<?php bloginfo('template_url') ?>/img/app-google.svg" /></a>
</div>
<div class="narrow ncua">
<img src="<?php bloginfo( 'template_url' ) ?>/img/icon-equal-housing.png" />
<img src="<?php bloginfo( 'template_url' ) ?>/img/icon-ncua.png" />
</div>
<div class="wide two">
<div class="app-icons no-mobile">
<a href="<?php the_field( 'app-ios', 'option' ) ?>"><img src="<?php bloginfo('template_url') ?>/img/app-ios.svg" /></a>
<a href="<?php the_field( 'app-google', 'option' ) ?>"><img src="<?php bloginfo('template_url') ?>/img/app-google.svg" /></a>
</div>
<div class="social-icons">
<?php
theme_social_icon( 'twitter' );
theme_social_icon( 'facebook' );
theme_social_icon( 'instagram' );
theme_social_icon( 'linkedin' );
theme_social_icon( 'youtube' );
?>
</div>
<!--
<div class="footer-aux">
<?php // wp_nav_menu( array( 'theme_location' => 'footer-aux', 'menu_class' => 'nav-menu' ) ); ?>
</div>
-->
</div>
</div>
</footer>
</div><!-- #container -->
<?php wp_footer(); ?>
<?php
if ( is_page( 10952 ) ) {
print the_field( 'footer_code', 'option' );
}
?>
</body>
</html>