-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
executable file
·89 lines (79 loc) · 3.64 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the id=main div and all content after
*/
?>
</div>
</div>
</div>
<?php if( is_home() ) : ?>
<!-- Bottom sidebar position -->
<?php if( is_active_sidebar( 'dw_focus_bottom' ) ) : ?>
<div id="bottom">
<div class="container">
<?php dynamic_sidebar('dw_focus_bottom'); ?>
</div>
</div>
<?php endif; ?>
<?php endif; ?>
<!-- Footer -->
<footer id="colophon" class="site-footer dark" role="contentinfo">
<div class="container">
<div id="site-tools">
<div class="row">
<div class="span9"><?php dw_breadcrumb(); ?></div>
<?php if( is_active_sidebar( 'dw_focus_footer_1' )
|| is_active_sidebar( 'dw_focus_footer_2' )
|| is_active_sidebar( 'dw_focus_footer_3' )
|| is_active_sidebar( 'dw_focus_footer_4' ) ) { ?>
<div class="span3"><a href="#" class="footer-toggle pull-right">Site index</a></div>
<?php } ?>
</div>
</div>
<?php if( is_active_sidebar( 'dw_focus_footer_1' )
|| is_active_sidebar( 'dw_focus_footer_2' )
|| is_active_sidebar( 'dw_focus_footer_3' )
|| is_active_sidebar( 'dw_focus_footer_4' ) ) { ?>
<div id="sidebar-footer" class="row-fluid">
<?php if( is_active_sidebar('dw_focus_footer_1') ) { ?>
<div id="sidebar-footer-1" class="span3">
<?php dynamic_sidebar('dw_focus_footer_1'); ?>
</div>
<?php } ?>
<?php if( is_active_sidebar('dw_focus_footer_2') ) { ?>
<div id="sidebar-footer-2" class="span3">
<?php dynamic_sidebar('dw_focus_footer_2'); ?>
</div>
<?php } ?>
<?php if( is_active_sidebar('dw_focus_footer_3') ) { ?>
<div id="sidebar-footer-3" class="span3">
<?php dynamic_sidebar('dw_focus_footer_3'); ?>
</div>
<?php } ?>
<?php if( is_active_sidebar('dw_focus_footer_4') ) { ?>
<div id="sidebar-footer-4" class="span3">
<?php dynamic_sidebar('dw_focus_footer_4'); ?>
</div>
<?php } ?>
</div>
<?php } ?>
<div class="footer-shadown"></div>
</div>
<div id="site-info" class="container">
<div class="clearfix">
<div class="copyright">
<p>Copyright © 2012 by <a href="http://demo.designwall.com/dw-focus/" title="DW Focus" rel="nofollow">DW Focus</a>. Proudly powered by <a href="http://wordpress.org/" title="Semantic Personal Publishing Platform">WordPress</a></p>
<p><a title="Responsive WordPress Themes for Free and Premium" href="http://designwall.com/" rel="nofollow">WordPress Theme by DesignWall</a></p>
</div>
<div class="logo">
<a class="small-logo" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
</div>
</div>
</div>
</footer><!-- #colophon .site-footer -->
<a class="scroll-top" href="#masthead" title="<?php _e( 'Scroll to top', 'dw-focus' ); ?>"><?php _e( 'Top', 'dw-focus' ); ?></a>
<?php wp_footer(); ?>
</body>
</html>