-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfooter.php
More file actions
executable file
·74 lines (70 loc) · 1.57 KB
/
footer.php
File metadata and controls
executable file
·74 lines (70 loc) · 1.57 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?php
/**
* Early-Years Theme: footer template
*
* Modified from original header template in cbox theme
* @author Alex Paredes
* @package tlpd
* @since 0.9
* @license https://www.gnu.org/licenses/gpl.html GPLv3 or later
*
* Original:
* @author Bowe Frankema <bowe@presscrew.com>
* @copyright Copyright (C) 2010-2011 Bowe Frankema
*/
?>
<?php
do_action( 'close_main_wrap' );
?>
</div>
<div class="footer-wrap <?php do_action( 'footer_wrap_class' ); ?>">
<?php
do_action( 'open_footer_wrap' );
?>
<!-- begin footer -->
<footer id="footer" role="contentinfo">
<?php
do_action( 'open_footer' );
infinity_get_template_part( 'templates/parts/footer-widgets' );
?>
<div class="d-flex flex-row flex-wrap border-top powered-by">
<div class="col-md">
<?php echo infinity_option_get( 'infinity-core-options.footer-text' ); ?>
</div>
<div id="footer-info" class="col">
<?php
// Load Footer Menu only if it's enabled
if ( current_theme_supports( 'infinity-footer-menu-setup' ) ) :
infinity_get_template_part( 'templates/parts/footer-menu', 'footer' );
endif;
?>
</div>
</div>
<?php
do_action( 'close_footer' );
?>
</footer>
<?php
do_action( 'close_footer_wrap' );
?>
</div><!-- close container -->
</div>
<?php
do_action( 'close_body' );
wp_footer();
?>
<?php
if ( is_page( 'Sign Up' ) ) {
get_template_part( 'templates/terms-modal' );
get_template_part( 'templates/roles-modal' );
}
?>
<script>
if (navigator.serviceWorker) {
navigator.serviceWorker.register('/abtf-pwa.js', {
scope: '/'
});
}
</script>
</body>
</html>