/
footer.php
82 lines (73 loc) · 3.12 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
<?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 Learning_Institute
*/
?>
</div><!-- .container -->
</div><!-- #content -->
<?php wpsp_hook_content_bottom(); ?>
<footer id="colophon" class="site-footer" role="contentinfo">
<div id="footer-top">
<?php if ( is_active_sidebar( 'social-footer-sidebar' ) ) : ?>
<div class="join-us">
<div class="container clearfix">
<?php dynamic_sidebar( 'social-footer-sidebar' ); ?>
</div> <!-- .container -->
</div> <!-- .join-us -->
<?php endif; ?>
<?php if ( is_active_sidebar( 'signup-sidebar' ) ) dynamic_sidebar( 'signup-sidebar' ); ?>
</div> <!-- #footer-top -->
<div id="footer-bottom" class="footer-sidebar">
<div class="container wpsp-row clearfix">
<div id="footer-sidebar-1" class="col span_1_of_3">
<?php if ( is_active_sidebar( 'footer-sidebar' ) ) : ?>
<?php dynamic_sidebar( 'footer-sidebar' ); ?>
<?php else : ?>
<p>Go to <strong>Widget</strong> in Appearance menu to add widget into <strong>Footer Sidebar 1</strong>.</p>
<?php endif; ?>
</div>
<div id="footer-sidebar-2" class="col span_1_of_3">
<?php if ( is_active_sidebar( 'footer-sidebar-2' ) ) : ?>
<?php dynamic_sidebar( 'footer-sidebar-2' ); ?>
<?php else : ?>
<p>Go to <strong>Widget</strong> in Appearance menu to add widget into <strong>Footer Sidebar 1</strong>.</p>
<?php endif; ?>
</div>
<div id="footer-sidebar-3" class="col span_1_of_3 last">
<?php if ( is_active_sidebar( 'footer-sidebar-3' ) ) : ?>
<?php dynamic_sidebar( 'footer-sidebar-3' ); ?>
<?php else : ?>
<p>Go to <strong>Widget</strong> in Appearance menu to add widget into <strong>Footer Sidebar 1</strong>.</p>
<?php endif; ?>
</div>
</div> <!-- .container .clearfix -->
</div> <!-- .footer-sidebar -->
<div class="site-info clearfix">
<div class="copyright"><?php esc_html_e( 'All content copyright © 2010, The Learning Institute. All Rights Reserved.', 'learninginstitute' ); ?></div>
<nav id="footer-navigation" class="footer-navigation" role="navigation">
<?php if ( has_nav_menu( 'footer' ) ) {
wp_nav_menu( array( 'theme_location' => 'footer', 'menu_id' => 'footer-menu', 'menu_class' => 'nav-menu-footer', 'container' => false ) );
}?>
</nav><!-- #site-navigation -->
</div><!-- .site-info -->
</footer><!-- #colophon -->
</div><!-- #page -->
<nav id="sitemenu-container" role="navigation" itemscope="itemscope" itemtype="http://schema.org/SiteNavigationElement">
<div id="inner-mobile-menu">
<div class="mobile-branding">
<img src="<?php echo get_template_directory_uri(); ?>/images/logo.png" alt="<?php bloginfo( 'name' ); ?>">
</div>
<?php if ( has_nav_menu( 'mobile' ) ) {
wp_nav_menu( array( 'container' => false, 'menu_id' => 'menu-mobile', 'theme_location' => 'mobile', 'menu_class' => 'mobile-nav' ) );
}?>
</div> <!-- #inner-mobile-menu -->
</nav>
<?php wp_footer(); ?>
</body>
</html>