-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer-support.php
72 lines (59 loc) · 1.69 KB
/
footer-support.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
<?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 MinnPost Largo
*/
?>
</div>
<footer id="site-footer" class="o-footer">
<div class="o-wrapper o-wrapper-site-footer<?php echo ( false !== get_query_var( 'grid', false ) ) ? ' o-wrapper-grid-overlay' : ''; ?>">
<aside class="o-footer-hat">
<?php dynamic_sidebar( 'sidebar-3' ); ?>
</aside>
<aside class="o-footer-links">
<nav id="footer-primary" class="m-secondary-navigation">
<?php
wp_nav_menu(
array(
'theme_location' => 'footer_primary',
'menu_id' => 'footer-primary-links',
'depth' => 1,
'container' => false,
'walker' => new Minnpost_Walker_Nav_Menu(),
)
);
?>
</nav><!-- #footer-primary -->
<nav id="footer-network" class="m-secondary-navigation">
<?php
wp_nav_menu(
array(
'theme_location' => 'minnpost_network',
'menu_id' => 'minnpost-network',
'depth' => 1,
'container' => false,
'walker' => new Minnpost_Walker_Nav_Menu(),
)
);
?>
</nav><!-- #footer-network -->
<?php
$footer_message = get_option( 'site_footer_message', '' );
if ( '' !== $footer_message ) :
?>
<p class="a-footer-message"><?php echo $footer_message; ?></p>
<?php endif; ?>
</aside>
<?php if ( function_exists( 'vip_powered_wpcom' ) ) : ?>
<?php echo vip_powered_wpcom( 1 ); ?>
<?php endif; ?>
</div>
</footer>
<?php wp_footer(); ?>
</body>
</html>