-
Notifications
You must be signed in to change notification settings - Fork 1
/
footer.php
71 lines (63 loc) · 1.23 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
71
<?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 Carbon
* @since 0.0.1
* @version 0.0.2
*/
if (!defined('ABSPATH')) {
exit; // Exit if accessed directly.
}
?>
</div><!-- #content -->
<?php
/**
* Fires after #content.
*/
do_action('carbon_after_content');
?>
<?php
/**
* Sidebar
* 0.0.1
*/
get_sidebar();
?>
</div><!-- #content-layout-wrap -->
<?php
/**
* Fires before the footer, after the content layout wrap.
*/
do_action('carbon_after_content_layout_wrap');
?>
</div><!-- #site-inner -->
<?php
if (is_active_sidebar('footer-1') || is_active_sidebar('footer-2') || is_active_sidebar('footer-3')) {
get_template_part('template-parts/footer-widgets', 'widgets');
}
/**
* Fires before the site-footer.
*/
do_action('carbon_before_footer');
// displays <footer>
get_template_part('template-parts/footer', 'info');
/**
* Fires after the site-footer.
*/
do_action('carbon_after_footer');
?>
</div><!-- #site-container-->
<?php wp_footer(); ?>
<?php
/**
* Fires after 'wp_footer'.
*/
do_action('carbon_after_wp_footer');
?>
</body>
</html>