-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
70 lines (62 loc) · 1.91 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
<?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 BSWP
*/
?>
</div><!-- #content -->
<footer id="colophon" class="site-footer" role="contentinfo">
<div class="container">
<div class="row">
<div class="col-md-6 col-lg-6">
<?php if (has_nav_menu('footer-menu', 'bswp')) { ?>
<nav role="navigation">
<?php wp_nav_menu(array(
'container' => '',
'menu_class' => 'footer-menu',
'theme_location' => 'footer-menu')
);
?>
</nav>
<?php } ?>
</div>
<div class="col-md-6 col-lg-6">
<div class="social-icons">
<?php $social_options = bswp_option( 'social_icons' ); ?>
<?php foreach ( $social_options as $key => $value ) {
if ( $value ) { ?>
<a href="<?php echo $value; ?>" title="<?php echo $key; ?>" target="_blank">
<i class="fa fa-<?php echo $key; ?>"></i>
</a>
<?php }
} ?>
</div><!-- .social-icons -->
</div>
</div><!-- .row -->
<div class="row">
<div class="col-md-6 col-lg-6">
<?php if (bswp_option('custom_copyright') != '') { ?>
<div class="copyright">
<?php echo bswp_option('custom_copyright'); ?>
</div>
<?php } ?>
</div>
<div class="col-md-6 col-lg-6">
<?php if (bswp_option('custom_power') != '') { ?>
<div class="poweredby">
<?php echo bswp_option('custom_power'); ?>
</div>
<?php } ?>
</div>
</div><!-- .row -->
</div><!-- .containr -->
</footer><!-- #colophon -->
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>