This repository has been archived by the owner on Aug 26, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathfooter.php
69 lines (56 loc) · 2.54 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 underskeleton
*/
?>
</div><!-- #content -->
<footer id="colophon" class="site-footer" role="contentinfo">
<?php $container_class = get_theme_mod( 'underskeleton_footer_container_class', true ) ? 'container' : '' ?>
<div class="site-footer__content <?php echo esc_attr( $container_class ); ?>">
<?php if ( is_active_sidebar( 'underskeleton_footer_single' ) ) : ?>
<div class="row">
<div class="site-footer__single vertical-padding-bottom">
<?php dynamic_sidebar( 'underskeleton_footer_single' ); ?>
</div><!-- .footer-single -->
</div>
<?php endif; ?>
<?php if ( is_active_sidebar( 'underskeleton_footer_left' )
|| is_active_sidebar( 'underskeleton_footer_center' )
|| is_active_sidebar( 'underskeleton_footer_right' ) ) : ?>
<div class="row">
<div class="site-footer__left four columns vertical-padding-bottom">
<?php if ( is_active_sidebar( 'underskeleton_footer_left' ) ): ?>
<?php dynamic_sidebar( 'underskeleton_footer_left' ); ?>
<?php endif; ?>
</div>
<div class="site-footer__center four columns vertical-padding-bottom">
<?php if ( is_active_sidebar( 'underskeleton_footer_center' ) ): ?>
<?php dynamic_sidebar( 'underskeleton_footer_center' ); ?>
<?php endif; ?>
</div>
<div class="site-footer__right four columns vertical-padding-bottom">
<?php if ( is_active_sidebar( 'underskeleton_footer_right' ) ): ?>
<?php dynamic_sidebar( 'underskeleton_footer_right' ); ?>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
<div class="row">
<div class="site-info">
<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'underskeleton' ) ); ?>"><?php printf( esc_html__( 'Proudly powered by %s', 'underskeleton' ), 'WordPress' ); ?></a>
<span class="sep"> | </span>
<?php printf( esc_html__( 'Theme: %1$s by %2$s.', 'underskeleton' ), __( 'Underskeleton' , 'underskeleton'), __( '<a href="http://getunderskeleton.com" rel="designer">getunderskeleton.com</a>' , 'underskeleton') ); ?>
</div><!-- .site-info -->
</div><!-- .row -->
</div>
</footer><!-- #colophon -->
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>