Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 61 lines (42 sloc) 1.573 kb
98a8e4e Jesper Johansen updated
authored
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
30f9e0d Jesper Johansen Code cleanup
authored
8 * by the theme, child themes, and plugins.
98a8e4e Jesper Johansen updated
authored
9 *
6a1de2d Jesper Johansen Improve inline documentation and code cleanup
authored
10 * @package Cakifo
bda9730 Jesper Johansen PHPDoc changes. You can browse the documentation on http://wpthemes.jayj...
authored
11 * @subpackage Template
98a8e4e Jesper Johansen updated
authored
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
4c70e2a Jesper Johansen Use classes instead of IDs and use the new <main> element.
authored
21 </div> <!-- .site-content -->
98a8e4e Jesper Johansen updated
authored
22
934a510 Jesper Johansen Remove reference to menu-subsidiary.php
authored
23 <?php do_atomic( 'after_content' ); // cakifo_after_content ?>
98a8e4e Jesper Johansen updated
authored
24
25 <?php do_atomic( 'before_footer' ); // cakifo_before_footer ?>
26
4c70e2a Jesper Johansen Use classes instead of IDs and use the new <main> element.
authored
27 <footer id="footer" class="site-footer" role="contentinfo">
98a8e4e Jesper Johansen updated
authored
28
29 <?php do_atomic( 'open_footer' ); // cakifo_open_footer ?>
30
c7a5b97 Jesper Johansen Fix footer content issue when no widgets are used
authored
31 <div class="footer-content clearfix">
737daa0 Jesper Johansen Use the hybrid_footer_content() function
authored
32 <?php hybrid_footer_content(); ?>
33 </div> <!-- .footer-content -->
98a8e4e Jesper Johansen updated
authored
34
35 <?php do_atomic( 'footer' ); // cakifo_footer ?>
36
b09989d Jesper Johansen Split the subsidiary sidebar into three sidebars
authored
37 <?php
c8825f4 Jesper Johansen Code cleanup
authored
38 /**
39 * A sidebar in the footer? Yep. You can can customize your footer
40 * with three columns of widgets.
b09989d Jesper Johansen Split the subsidiary sidebar into three sidebars
authored
41 */
6a1de2d Jesper Johansen Improve inline documentation and code cleanup
authored
42 if ( ! is_404() ) {
b09989d Jesper Johansen Split the subsidiary sidebar into three sidebars
authored
43 get_sidebar( 'subsidiary' );
6a1de2d Jesper Johansen Improve inline documentation and code cleanup
authored
44 }
b09989d Jesper Johansen Split the subsidiary sidebar into three sidebars
authored
45 ?>
98a8e4e Jesper Johansen updated
authored
46
47 <?php do_atomic( 'close_footer' ); // cakifo_close_footer ?>
48
4c70e2a Jesper Johansen Use classes instead of IDs and use the new <main> element.
authored
49 </footer> <!-- .site-footer -->
98a8e4e Jesper Johansen updated
authored
50
51 <?php do_atomic( 'after_footer' ); // cakifo_after_footer ?>
52
53 </div> <!-- #wrapper -->
54
55 <?php do_atomic( 'close_body' ); // cakifo_close_body ?>
56
4c70e2a Jesper Johansen Use classes instead of IDs and use the new <main> element.
authored
57 <?php wp_footer(); ?>
98a8e4e Jesper Johansen updated
authored
58
59 </body>
30f9e0d Jesper Johansen Code cleanup
authored
60 </html>
Something went wrong with that request. Please try again.