-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfooter.php
More file actions
76 lines (48 loc) · 2.33 KB
/
footer.php
File metadata and controls
76 lines (48 loc) · 2.33 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after
*
* @package luna
*/
?>
</div><!-- #content -->
<footer id="colophon" class="site-footer" role="contentinfo">
<div class="grid grid-pad">
<?php if ( get_theme_mod( 'luna_footer_title' ) ) : ?>
<h3 class="footer-contact-title"><?php echo wp_kses_post( get_theme_mod( 'luna_footer_title' )); ?></h3>
<?php endif; ?>
<?php if ( get_theme_mod( 'luna_footer_text' ) ) : ?>
<div class="footer-contact">
<?php echo wp_kses_post( get_theme_mod( 'luna_footer_text' )); ?>
</div>
<?php endif; ?>
</div>
<div class="site-info">
<div class="grid grid-pad">
<div class="col-1-1">
<div class="col-1-2">
<?php if( get_theme_mod( 'active_byline' ) == '') : ?>
<?php if ( get_theme_mod( 'luna_footerid' ) ) : ?>
<?php echo wp_kses_post( get_theme_mod( 'luna_footerid' )); // footer id ?>
<?php else : ?>
<?php printf( esc_html__( 'Theme: %1$s by %2$s', 'luna' ), 'luna', '<a href="http://modernthemes.net" rel="designer">modernthemes.net</a>' ); ?>
<?php endif; ?>
<?php endif; ?>
</div>
<?php if( get_theme_mod( 'active_social' ) == '') : ?>
<?php if ( is_active_sidebar('social-widget-area') ) : ?>
<div class="col-1-2">
<?php dynamic_sidebar('social-widget-area'); ?>
</div>
<?php endif; ?>
<?php endif; ?>
</div>
</div>
</div><!-- .site-info -->
</footer><!-- #colophon -->
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>