-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
48 lines (33 loc) · 1.2 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
<?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 Icarus
*/
?>
</div><!-- #content -->
<footer id="colophon" class="site-footer" role="contentinfo">
<?php if ( is_active_sidebar( 'sidebar-footer' ) ) : ?>
<?php $widget_count = icarus_count_widgets( 'sidebar-footer' ) ?>
<div class="footer-links widget-area <?php echo ( $widget_count ) ? $widget_count : ''; ?>" role="complementary">
<?php dynamic_sidebar( 'sidebar-footer' ); ?>
</div><!-- .footer-links -->
<?php endif; ?>
<div class="site-info">
</div><!-- .site-info -->
<div class="site-license">
<?php
// check to see if the logo exists and add it to the page
if ( get_theme_mod( 'license_text_setting' ) ) : ?>
<?php echo get_theme_mod( 'license_text_setting' ); ?>
<?php endif; ?>
</div><!-- .site-license -->
</footer><!-- #colophon -->
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>