Permalink
Newer
Older
100644 63 lines (41 sloc) 1.63 KB
Apr 18, 2011
1
<?php
2
/**
3
* Footer Template
4
*
5
* The footer template is generally used on every page of your site. Nearly all other
6
* templates call it somewhere near the bottom of the file. It is used mostly as a closing
7
* wrapper, which is opened with the header.php file. It also executes key functions needed
Jun 1, 2012
8
* by the theme, child themes, and plugins.
Apr 18, 2011
9
*
10
* @package Cakifo
11
* @subpackage Template
Apr 18, 2011
12
*/
13
?>
14
15
<?php get_sidebar( 'primary' ); // Loads the sidebar-primary.php template ?>
16
17
<?php get_sidebar( 'secondary' ); // Loads the sidebar-secondary.php template ?>
18
19
<?php do_atomic( 'close_content' ); // cakifo_close_content ?>
20
21
</div> <!-- #content -->
22
23
<?php do_atomic( 'after_main' ); // cakifoafter_main ?>
24
25
<?php get_template_part( 'menu', 'subsidiary' ); // Loads the menu-subsidiary.php template ?>
26
27
<?php do_atomic( 'before_footer' ); // cakifo_before_footer ?>
28
May 6, 2011
29
<footer id="footer" role="contentinfo">
Apr 18, 2011
30
31
<?php do_atomic( 'open_footer' ); // cakifo_open_footer ?>
32
33
<div class="wrap clearfix">
Apr 18, 2011
34
35
<?php echo apply_atomic_shortcode( 'footer_content', hybrid_get_setting( 'footer_insert' ) ); ?>
36
37
<?php do_atomic( 'footer' ); // cakifo_footer ?>
38
39
<?php
40
/* A sidebar in the footer? Yep. You can can customize
41
* your footer with three columns of widgets.
42
*/
43
if ( ! is_404() )
44
get_sidebar( 'subsidiary' );
45
?>
Apr 18, 2011
46
47
</div> <!-- .wrap -->
48
49
<?php do_atomic( 'close_footer' ); // cakifo_close_footer ?>
50
May 6, 2011
51
</footer> <!-- #footer -->
Apr 18, 2011
52
53
<?php do_atomic( 'after_footer' ); // cakifo_after_footer ?>
54
55
</div> <!-- #wrapper -->
56
57
<?php do_atomic( 'close_body' ); // cakifo_close_body ?>
58
59
<?php wp_footer(); // wp_footer ?>
60
61
</body>
Jun 1, 2012
62
</html>