-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfooter.php
More file actions
55 lines (50 loc) · 1.46 KB
/
footer.php
File metadata and controls
55 lines (50 loc) · 1.46 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
<?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 shivampaw
*/
?>
</div><!-- .row -->
</div><!-- .container -->
<footer class="site-footer">
<div class="container-fluid">
<?php if ( is_active_sidebar( 'footer-widget-1' ) ||
is_active_sidebar( 'footer-widget-2' ) ||
is_active_sidebar( 'footer-widget-3' ) ||
is_active_sidebar( 'footer-widget-4' )
) : ?>
<div id="footer-widgets" class="row">
<?php if ( is_active_sidebar( 'footer-widget-1' ) ) : ?>
<div class="col-md">
<?php dynamic_sidebar( 'footer-widget-1' ); ?>
</div>
<?php endif; ?>
<?php if ( is_active_sidebar( 'footer-widget-2' ) ) : ?>
<div class="col-md">
<?php dynamic_sidebar( 'footer-widget-2' ); ?>
</div>
<?php endif; ?>
<?php if ( is_active_sidebar( 'footer-widget-3' ) ) : ?>
<div class="col-md">
<?php dynamic_sidebar( 'footer-widget-3' ); ?>
</div>
<?php endif; ?>
</div>
<?php endif; ?>
<div class="row">
<div class="col">
<div class="site-info text-center">
<?php _e( 'Developed by <a href="https://www.shivampaw.com" rel="designer">Shivam Paw</a>.', 'shivampaw' ); ?>
</div><!-- .site-info -->
</div>
</div>
</div>
</footer><!-- .site-footer -->
<?php wp_footer(); ?>
</body>
</html>