-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
65 lines (62 loc) · 2.74 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
<footer class="container">
<?php
if (is_single()) {
get_template_part( 'parts/single_post_nav');
} else if (is_page()) {
// no nav
} else {
get_template_part( 'parts/blog', 'pagination');
}
?>
<div class="content_constrain">
<div class="row footer_widgets">
<div id="footer_widget_left" class="col-md-3">
<?php
if (is_active_sidebar( 'Footer Left' )) {
dynamic_sidebar( 'Footer Left' );
} else {
get_template_part( 'parts/example_widgets', 'footer');
}
?>
</div>
<div id="footer_widget_center_left" class="col-md-3">
<?php
if (is_active_sidebar( 'Footer Center Left' )) {
dynamic_sidebar( 'Footer Center Left' );
} else {
get_template_part( 'parts/example_widgets', 'footer');
}
?>
</div>
<div id="footer_widget_center_right" class="col-md-3">
<?php
if (is_active_sidebar( 'Footer Center Right' )) {
dynamic_sidebar( 'Footer Center Right' );
} else {
get_template_part( 'parts/example_widgets', 'footer');
}
?>
</div>
<div id="footer_widget_right" class="col-md-3">
<?php
if (is_active_sidebar( 'Footer Right' )) {
dynamic_sidebar( 'Footer Right' );
} else {
get_template_part( 'parts/example_widgets', 'footer');
}
?>
</div>
</div>
<div class="row">
<div class="col-md-5">
<p id="copyright"><?php echo nimbus_get_option('copyright') ?></p>
</div>
<div class="col-md-5 col-md-offset-2">
<p id="credit"><a href="http://nimbusthemes.com/free/soliloquy/">Soliloquy WordPress Theme</a></p>
</div>
</div>
</div>
</footer>
<?php wp_footer(); ?>
</body>
</html>