-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfooter.php
More file actions
49 lines (42 loc) · 1.16 KB
/
footer.php
File metadata and controls
49 lines (42 loc) · 1.16 KB
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
<?php
/**
* The footer template.
*
* @package Scout_Starter
*/
?>
</main><!-- #content -->
<footer class="site-footer" role="contentinfo">
<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-widget-area">
<?php dynamic_sidebar( 'footer-1' ); ?>
</div>
<?php endif; ?>
<?php if ( is_active_sidebar( 'footer-2' ) ) : ?>
<div class="footer-widget-area">
<?php dynamic_sidebar( 'footer-2' ); ?>
</div>
<?php endif; ?>
<?php if ( is_active_sidebar( 'footer-3' ) ) : ?>
<div class="footer-widget-area">
<?php dynamic_sidebar( 'footer-3' ); ?>
</div>
<?php endif; ?>
</div>
<?php endif; ?>
<div class="site-info">
<p>
© <?php echo esc_html( date( 'Y' ) ); ?>
<?php bloginfo( 'name' ); ?>.
<?php esc_html_e( 'All rights reserved.', 'scout-starter' ); ?>
</p>
</div>
</div>
</footer>
</div><!-- .site-container -->
<?php wp_footer(); ?>
</body>
</html>