This repository has been archived by the owner on Jul 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
footer.php
61 lines (53 loc) · 1.51 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
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after
*
* @package Atomic Blocks
*/
?>
</div><!-- #content -->
</div><!-- #page .container -->
<footer id="colophon" class="site-footer">
<div class="container">
<?php if ( is_active_sidebar( 'footer-1' ) || is_active_sidebar( 'footer-2' ) || is_active_sidebar( 'footer-3' ) ) : ?>
<div class="footer-widgets">
<?php if ( is_active_sidebar( 'footer-1' ) ) { ?>
<div class="footer-column">
<?php dynamic_sidebar( 'footer-1' ); ?>
</div>
<?php } ?>
<?php if ( is_active_sidebar( 'footer-2' ) ) { ?>
<div class="footer-column">
<?php dynamic_sidebar( 'footer-2' ); ?>
</div>
<?php } ?>
<?php if ( is_active_sidebar( 'footer-3' ) ) { ?>
<div class="footer-column">
<?php dynamic_sidebar( 'footer-3' ); ?>
</div>
<?php } ?>
</div>
<?php endif; ?>
<div class="footer-bottom">
<div class="footer-tagline">
<div class="site-info">
<?php echo atomic_blocks_filter_footer_text(); ?>
</div>
</div><!-- .footer-tagline -->
<?php if ( has_nav_menu( 'social' ) ) { ?>
<nav class="social-navigation">
<?php wp_nav_menu( array(
'theme_location' => 'social',
'depth' => 1,
'fallback_cb' => false
) );?>
</nav><!-- .social-navigation -->
<?php } ?>
</div><!-- .footer-bottom -->
</div><!-- .container -->
</footer><!-- #colophon -->
<?php wp_footer(); ?>
</body>
</html>