-
Notifications
You must be signed in to change notification settings - Fork 2
/
footer.php
60 lines (40 loc) · 1.68 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 MyLife
* @subpackage Template
* @since 0.1.0
* @author Justin Tadlock <justin@justintadlock.com>
* @copyright Copyright (c) 2011, Justin Tadlock
* @link http://themehybrid.com/themes/my-life
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/
?>
<?php get_sidebar( 'primary' ); // Loads the sidebar-primary.php template. ?>
<?php get_sidebar( 'secondary' ); // Loads the sidebar-secondary.php template. ?>
<?php do_atomic( 'close_main' ); // my-life_close_main ?>
</div><!-- .wrap -->
</div><!-- #main -->
<?php do_atomic( 'after_main' ); // my-life_after_main ?>
<?php do_atomic( 'before_footer' ); // my-life_before_footer ?>
<div id="footer">
<?php do_atomic( 'open_footer' ); // my-life_open_footer ?>
<div class="wrap">
<?php echo apply_atomic_shortcode( 'footer_content', hybrid_get_setting( 'footer_insert' ) ); ?>
<?php do_atomic( 'footer' ); // my-life_footer ?>
</div><!-- .wrap -->
<?php do_atomic( 'close_footer' ); // my-life_close_footer ?>
</div><!-- #footer -->
<?php do_atomic( 'after_footer' ); // my-life_after_footer ?>
<?php get_template_part( 'menu', 'subsidiary' ); // Loads the menu-subsidiary.php template. ?>
</div><!-- #container -->
<?php do_atomic( 'close_body' ); // my-life_close_body ?>
<?php wp_footer(); // wp_footer ?>
</body>
</html>