forked from jayj/Cakifo
/
footer.php
60 lines (42 loc) · 1.54 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
<?php
/**
* Footer Template
*
* The footer template is generally used on every page of your site. Nearly all other
* templates call it somewhere near the bottom of the file. It is used mostly as a closing
* wrapper, which is opened with the header.php file. It also executes key functions needed
* by the theme, child themes, and plugins.
*
* @package Cakifo
* @subpackage Template
*/
?>
<?php get_sidebar( 'primary' ); // Loads the sidebar-primary.php template ?>
<?php get_sidebar( 'secondary' ); // Loads the sidebar-secondary.php template ?>
<?php do_atomic( 'close_content' ); // cakifo_close_content ?>
</div> <!-- .site-content -->
<?php do_atomic( 'after_content' ); // cakifo_after_content ?>
<?php do_atomic( 'before_footer' ); // cakifo_before_footer ?>
<footer id="footer" class="site-footer" role="contentinfo">
<?php do_atomic( 'open_footer' ); // cakifo_open_footer ?>
<div class="footer-content clearfix">
<?php hybrid_footer_content(); ?>
</div> <!-- .footer-content -->
<?php do_atomic( 'footer' ); // cakifo_footer ?>
<?php
/**
* A sidebar in the footer? Yep. You can can customize your footer
* with three columns of widgets.
*/
if ( ! is_404() ) {
get_sidebar( 'subsidiary' );
}
?>
<?php do_atomic( 'close_footer' ); // cakifo_close_footer ?>
</footer> <!-- .site-footer -->
<?php do_atomic( 'after_footer' ); // cakifo_after_footer ?>
</div> <!-- #wrapper -->
<?php do_atomic( 'close_body' ); // cakifo_close_body ?>
<?php wp_footer(); ?>
</body>
</html>