-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
71 lines (59 loc) · 1.71 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
<?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 DebtCollective
*/
?>
<footer class="site-footer" id="stayintheloop">
<div class="container">
<?php debtcollective_display_social_network_links(); ?>
<?php
if ( is_active_sidebar( 'footer' ) ) :
?>
<div class="footer-widgets widget-area">
<?php dynamic_sidebar( 'footer' ); ?>
</div>
<?php
endif;
?>
<nav id="site-footer-navigation" class="footer-navigation navigation-menu" aria-label="<?php esc_attr_e( 'Footer Navigation', 'debtcollective' ); ?>">
<?php
wp_nav_menu(
[
'fallback_cb' => false,
'theme_location' => 'footer',
'menu_id' => 'footer-menu',
'menu_class' => 'menu container',
'container' => false,
'depth' => 2,
]
);
?>
</nav><!-- #site-navigation-->
<div class="container site-info">
<?php debtcollective_display_copyright_text(); ?>
<nav id="site-privacy-navigation" class="privacy-navigation navigation-menu" aria-label="<?php esc_attr_e( 'Privacy Navigation', 'debtcollective' ); ?>">
<?php
wp_nav_menu(
[
'fallback_cb' => false,
'theme_location' => 'privacy',
'menu_id' => 'privacy-menu',
'menu_class' => 'menu container',
'container' => false,
'depth' => 1,
]
);
?>
</nav><!-- #site-navigation-->
</div><!-- .site-info -->
</div><!-- .container -->
</footer><!-- .site-footer container-->
<?php wp_footer(); ?>
</body>
</html>