-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
105 lines (89 loc) · 3.23 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!-- Footer
============================================= -->
<footer id="footer" class="dark">
<!-- Copyrights
============================================= -->
<div id="copyrights">
<div class="container clearfix">
<div class="col_half">
<?php
if (get_theme_mod( 'rb_footer_copyright_text')) {
echo get_theme_mod( 'rb_footer_copyright_text' );
}
?>
<div class="copyright-links">
<?php
if ( has_nav_menu( 'footer' ) ) {
wp_nav_menu(
array(
'theme_location' => 'footer',
'container' => false,
'fallback_cb' => false,
'depth' => 1,
)
);
}
?>
</div>
</div>
<div class="col_half col_last tright">
<div class="fright clearfix">
<?php
if (get_theme_mod( 'rb_facebook_handle')) {
?>
<a href="https://facebook.com/<?php echo get_theme_mod( 'rb_facebook_handle' ) ?>" class="social-icon si-small si-borderless si-facebook">
<i class="icon-facebook"></i>
<i class="icon-facebook"></i>
</a>
<?php
}
?>
<?php
if (get_theme_mod( 'rb_twitter_handle')) {
?>
<a href="https://twitter.com/<?php echo get_theme_mod( 'rb_twitter_handle' ) ?>" class="social-icon si-small si-borderless si-twitter">
<i class="icon-twitter"></i>
<i class="icon-twitter"></i>
</a>
<?php
}
?>
<?php
if (get_theme_mod( 'rb_instagram_handle')) {
?>
<a href="https://instagram.com/<?php echo get_theme_mod( 'rb_instagram_handle' ) ?>" class="social-icon si-small si-borderless si-instagram">
<i class="icon-instagram2"></i>
<i class="icon-instagram2"></i>
</a>
<?php
}
?>
</div>
<div class="clear"></div>
<?php
if (get_theme_mod( 'rb_email')) {
?>
<i class="icon-envelope2"></i> <?php echo get_theme_mod( 'rb_email' ) ?> <span class="middot">·</span>
<?php
}
?>
<?php
if (get_theme_mod( 'rb_phone')) {
?>
<i class="icon-headphones"></i> <?php echo get_theme_mod( 'rb_phone' ) ?>
<?php
}
?>
</div>
</div>
</div><!-- #copyrights end -->
</footer><!-- #footer end -->
</div><!-- #wrapper end -->
<!-- Go To Top
============================================= -->
<div id="gotoTop" class="icon-angle-up"></div>
<!-- External JavaScripts
============================================= -->
<?php wp_footer(); ?>
</body>
</html>