-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathfooter.php
More file actions
executable file
·106 lines (95 loc) · 2.65 KB
/
footer.php
File metadata and controls
executable file
·106 lines (95 loc) · 2.65 KB
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<?php
/**
* Default Footer
*
* @package WP-Bootstrap
* @subpackage Default_Theme
* @since WP-Bootstrap 0.1
*
* Last Revised: July 16, 2012
*/
?>
<!-- End Template Content -->
<footer>
<?php if ( theme_options('footer', 'footer_widgets') && theme_options('footer', 'footer_widgets') != 'off' ) : ?>
<div class="footer-widgets">
<div class="container">
<div class="row-fluid">
<?php switch( theme_options('footer', 'footer_layout') ):
case 'one-column': ?>
<div class="span12 well">
<ul>
<?php dynamic_sidebar( 'first-footer' ); ?>
</ul>
</div>
<?php break; ?>
<?php case 'two-columns': ?>
<div class="span6 well">
<ul>
<?php if ( dynamic_sidebar( 'first-footer' ) ); ?>
</ul>
</div>
<div class="span6 well">
<ul>
<?php if ( dynamic_sidebar( 'second-footer' ) ); ?>
</ul>
</div>
<?php break; ?>
<?php case 'three-columns': ?>
<div class="span4 well">
<ul>
<?php if ( dynamic_sidebar( 'first-footer' ) ); ?>
</ul>
</div>
<div class="span4 well">
<ul>
<?php if ( dynamic_sidebar( 'second-footer' ) ); ?>
</ul>
</div>
<div class="span4 well">
<ul>
<?php if ( dynamic_sidebar( 'third-footer' ) ); ?>
</ul>
</div>
<?php break; ?>
<?php case 'four-columns': ?>
<div class="span3 well">
<ul>
<?php if ( dynamic_sidebar( 'first-footer' ) ); ?>
</ul>
</div>
<div class="span3 well">
<ul>
<?php if ( dynamic_sidebar( 'second-footer' ) ); ?>
</ul>
</div>
<div class="span3 well">
<ul>
<?php if ( dynamic_sidebar( 'third-footer' ) ); ?>
</ul>
</div>
<div class="span3 well">
<ul>
<?php if ( dynamic_sidebar( 'fourth-footer' ) ); ?>
</ul>
</div>
<?php break; ?>
<?php endswitch; ?>
</div> <!-- .row -->
</div><!-- .container -->
</div><!-- .footer-widgets -->
<?php endif ?>
<div class="bottom-footer">
<div class="container">
<?php if (theme_options('footer', 'footer_copyright_text') != '') { ?>
<p><?php echo theme_options('footer', 'footer_copyright_text') ?></p>
<?php } ?>
<?php if (theme_options('footer', 'footer_show_poweredby') != 'off') { ?>
<p class="poweredby">Created with <a href ="http://wordpress.org">WordPress</a> and <a href="http://appifywp.com<?php if (theme_options('advanced', 'affiliate_id') != '') { echo '?ap_id='. theme_options('advanced', 'affiliate_id'); }?>">AppifyWP Pro</a></p>
<?php } ?>
</div> <!-- /container -->
</div><!-- .bottom-footer -->
</footer>
<?php wp_footer(); ?>
</body>
</html>