-
Notifications
You must be signed in to change notification settings - Fork 2
/
footer.php
48 lines (43 loc) · 1.42 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
*
* @package Kaingang
*/
?>
</div><!-- .site-content -->
<footer id="colophon" class="site-footer" role="contentinfo">
<div class="wrap">
<?php if ( is_active_sidebar( 'sidebar-footer' ) ) : ?>
<div id="tertiary" class="widget-area widget-area--footer clear" role="complementary">
<?php dynamic_sidebar( 'sidebar-footer' ); ?>
</div><!-- .widget-area -->
<?php endif; ?>
<div class="site-info">
<?php do_action( 'kaingang_credits' ); ?>
<div class="site-text">
<?php
if ( $footer_text = get_theme_mod( 'kaingang_footer_text' ) ) {
echo get_theme_mod( 'kaingang_footer_text' );
}
?>
</div>
<div class="site-credits">
<?php
$footer_credits_text = get_theme_mod( 'kaingang_footer_credits_text', sprintf( __( 'Proudly powered by %s', 'kaingang' ), 'WordPress' ));
$footer_credits_link = get_theme_mod( 'kaingang_footer_credits_link', "http://wordpress.org/");
if ( !empty($footer_credits_text) && !empty($footer_credits_link) )
{?>
<a href="<?php echo $footer_credits_link; ?>" rel="generator"><?php echo $footer_credits_text; ?></a><?php
}
?>
</div><!-- .site-credits -->
</div><!-- .site-info -->
</div><!-- .wrap -->
</footer><!-- .site-footer -->
</div><!-- .site -->
<?php wp_footer(); ?>
</body>
</html>