-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
79 lines (62 loc) · 2.77 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
<?php
/**
* The template for displaying the footer.
*
* Contains all content after the main content area and sidebar
*
* @package tni
*/
?>
</div><!-- #content -->
<?php do_action( 'gridbox_before_footer' ); ?>
<div id="footer" class="footer-wrap">
<footer id="colophon" class="site-footer container clearfix" role="contentinfo">
<div class="footer-content">
<?php if( is_active_sidebar( 'copyleft' ) ) : ?>
<div id="footer-text" class="site-info">
<?php dynamic_sidebar( 'copyleft' ); ?>
</div><!-- .site-info -->
<?php endif; ?>
<div class="footer-menus">
<?php
// Display Main Navigation.
wp_nav_menu( array(
'theme_location' => 'footer',
'container' => false,
'menu_class' => 'footer-menu',
'fallback_cb' => false,
'depth' => 1,
)
);
?>
<nav id="social-navigation" class="social-navigation navigation clearfix" role="navigation">
<?php
// Display Social Navigation.
wp_nav_menu(
array(
'theme_location' => 'social',
'container' => 'div',
'container_id' => 'menu-social',
'container_class' => 'menu',
'menu_id' => 'menu-social-items',
'menu_class' => 'menu-items',
'depth' => 1,
'link_before' => '<span class="screen-reader-text">',
'link_after' => '</span>',
'fallback_cb' => '',
)
);
?>
</nav><!-- #social-navigation -->
</div>
<?php if( is_active_sidebar( 'footer' ) ) : ?>
<?php dynamic_sidebar( 'footer' ); ?>
<?php endif; ?>
</div>
<img class="footer-head" src="<?php echo get_stylesheet_directory_uri(); ?>/images/head.png" />
</footer><!-- #colophon -->
</div>
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>