-
Notifications
You must be signed in to change notification settings - Fork 4
/
footer.php
48 lines (48 loc) · 2.16 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
<?php get_template_part('layout', 'foot'); ?>
<?php if (!get_theme_mod('easel-customize-detach-footer', false)) { ?>
<footer id="footer">
<?php do_action('easel-footer'); ?>
<div id="footer-sidebar-wrapper">
<?php
easel_get_sidebar('footer-left');
easel_get_sidebar('footer');
easel_get_sidebar('footer-right');
?>
</div>
<div class="clear"></div>
<div id="footer-menubar-wrapper">
<?php wp_nav_menu( array( 'sort_column' => 'menu_order', 'depth' => 1, 'fallback_cb' => false, 'container_class' => 'footmenu', 'theme_location' => 'Footer' ) ); ?>
<div class="clear"></div>
</div>
<?php if (!easel_themeinfo('disable_footer_text')) easel_copyright_text(); ?>
<?php if (easel_themeinfo('enable_debug_footer_code')) { ?>
<p><?php echo get_num_queries() ?> queries. <?php if (function_exists('memory_get_usage')) { $unit=array('b','kb','mb','gb','tb','pb'); echo @round(memory_get_usage(true)/pow(1024,($i=floor(log(memory_get_usage(true),1024)))),2).' '.$unit[$i]; ?> Memory usage. <?php } timer_stop(1) ?> seconds.</p>
<?php } ?>
</footer>
<?php } ?>
</div> <!-- // #page -->
</div> <!-- / #page-wrap -->
<?php if (get_theme_mod('easel-customize-detach-footer', false)) { ?>
<footer id="footer">
<?php do_action('easel-footer'); ?>
<div id="footer-sidebar-wrapper">
<?php
easel_get_sidebar('footer-left');
easel_get_sidebar('footer');
easel_get_sidebar('footer-right');
?>
</div>
<div class="clear"></div>
<div id="footer-menubar-wrapper">
<?php wp_nav_menu( array( 'sort_column' => 'menu_order', 'depth' => 1, 'fallback_cb' => false, 'container_class' => 'footmenu', 'theme_location' => 'Footer' ) ); ?>
<div class="clear"></div>
</div>
<?php if (!easel_themeinfo('disable_footer_text')) easel_copyright_text(); ?>
<?php if (easel_themeinfo('enable_debug_footer_code')) { ?>
<p><?php echo get_num_queries() ?> queries. <?php if (function_exists('memory_get_usage')) { $unit=array('b','kb','mb','gb','tb','pb'); echo @round(memory_get_usage(true)/pow(1024,($i=floor(log(memory_get_usage(true),1024)))),2).' '.$unit[$i]; ?> Memory usage. <?php } timer_stop(1) ?> seconds.</p>
<?php } ?>
</footer>
<?php } ?>
<?php wp_footer(); ?>
</body>
</html>