-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfooter.php
More file actions
52 lines (44 loc) · 1.43 KB
/
footer.php
File metadata and controls
52 lines (44 loc) · 1.43 KB
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
</main>
<footer id="footer" class="footer">
<section class="info">
<div class="container">
<?php if(has_nav_menu('footer-menu')):?>
<?php
wp_nav_menu([
'menu' => 'footer-menu',
'theme_location' => 'footer-menu',
'container' => false,
'menu_id' => false,
'menu_class' => 'footer-nav nav justify-content-center',
'depth' => 2,
'fallback_cb' => 'wp_bootstrap4_navwalker::fallback',
'walker' => new wp_bootstrap4_navwalker()
]);
?>
<?php endif;?>
<?php if(has_nav_menu('social-menu')):?>
<?php
wp_nav_menu([
'menu' => 'social-menu',
'theme_location' => 'social-menu',
'container' => false,
'menu_id' => false,
'menu_class' => 'social-nav nav justify-content-center',
'depth' => 2,
'fallback_cb' => 'wp_bootstrap4_navwalker::fallback',
'walker' => new wp_bootstrap4_navwalker()
]);
?>
<?php endif;?>
<?php if(get_field('footer_logo', 'option')): ?>
<img src="<?php the_field('footer_logo', 'option'); ?>" alt="<?php bloginfo('name'); ?>" class="footer-logo hidden-sm hidden-xs" /></a>
<?php endif; ?>
<?php if(get_field('disclaimer', 'option')):?>
<p class="disclaimer"> <?php the_field('disclaimer', 'option');?></p>
<?php endif;?>
</div>
</section>
</footer>
<?php wp_footer(); ?>
</body>
</html>