-
Notifications
You must be signed in to change notification settings - Fork 10
/
footer.php
69 lines (59 loc) · 1.69 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
<?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 The NewsMag
*/
?>
</div><!-- .content -->
</div><!-- #content -->
<?php if ( is_active_sidebar( 'the-newsmag-content-bottom-sidebar' ) ) { ?>
<div class="content-bottom-sidebar-area">
<div class="inner-wrap">
<?php dynamic_sidebar( 'the-newsmag-content-bottom-sidebar' ); ?>
</div>
</div>
<?php } ?>
<?php do_action( 'the_newsmag_before_footer' ); ?>
<footer id="colophon" class="site-footer" role="contentinfo">
<?php get_sidebar( 'footer' ); ?>
<?php if ( has_nav_menu( 'social' ) ) : ?>
<div class="footer-social-menu">
<div class="inner-wrap">
<div class="social-menu">
<?php the_newsmag_social_menu(); ?>
</div>
</div>
</div>
<?php endif; ?>
<div class="site-info clear">
<div class="footer-bottom-area clear">
<div class="inner-wrap">
<?php the_newsmag_footer_copyright(); ?>
<div class="footer-menu">
<?php
if ( has_nav_menu( 'footer' ) ) :
wp_nav_menu(
array(
'theme_location' => 'footer',
'depth' => '-1',
'menu_id' => 'footer-menu',
)
);
endif;
?>
</div>
</div>
</div>
</div><!-- .site-info -->
</footer><!-- #colophon -->
<a href="#masthead" id="scroll-up"><i class="fa fa-arrow-up"></i></a>
<?php do_action( 'the_newsmag_after_footer' ); ?>
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>