-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
69 lines (45 loc) · 1.14 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
<?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 cap2019
*/
?>
</div><!-- #content -->
<div class="wrap--site-foot">
<div class="site-foot">
<div class="site-branding--footer">
<div class="container"></div>
</div>
<footer id="colophon" class="site-footer">
<div class="footer-widgets container flex-container">
<?php
for ( $i = 0; $i <= 5; $i++ ) :
$callmesam = 'footbar-' . $i;
if ( is_active_sidebar( $callmesam ) ) : ?>
<aside class="widget-area flex-item widget-area--<?php echo $i; ?>">
<?php dynamic_sidebar( $callmesam ); ?>
</aside>
<?php
endif;
endfor;
?>
</div>
<div class="footer-copyright container">
<?php
$copy = get_field('cap_footer_copyright', 'option');
if ( $copy && ( '' !== $copy ) )
echo $copy;
?>
</div>
</footer><!-- #colophon -->
</div>
</div>
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>