-
Notifications
You must be signed in to change notification settings - Fork 1
/
footer.php
52 lines (44 loc) · 1.32 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
<div id="footer" class="footer">
<?php if (bigRed_option('footer-menu')): ?>
<?php
if (function_exists('wp_nav_menu')) {
wp_nav_menu(array(
'theme_location' => 'footer',
'container' => 'div',
'container_id' => 'footNavWrap',
'container_class' => 'nav',
'menu_class' => '',
'menu_id' => 'footNav',
'depth' => 1,
'show_home' => 1,
'fallback_cb' => 'bigRed_listPages'
));
}
else {
bigRed_listPages();
}
?>
<?php endif; /* bigRed_option('footer-menu') */ ?>
<?php if (bigRed_option('widget-footer')) :?>
<div id="footWidgets" role="complementary"><?php
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('bigredwidget_footer') ) {
//insert static sidebar
echo '<!' . '-- no footer widgets --' . '>';
}
?></div>
<!-- //#footWidgets -->
<?php endif; //bigRed_option('widget-footer')
?>
<ul id="footLegal" role="contentinfo">
<li class="copyright">Copyright © 2011 <?php bloginfo('name'); ?></li>
<li class="credits">Theme developed with the <a href="http://bigredtin.com/wp-framework/">Big Red framework</a></li>
<li class="powered">Powered by <a href="http://wordpress.org">WordPress</a></li>
</ul>
<!-- //#footLegal -->
</div>
<!-- //#footer -->
</div>
<!-- //#pageWrap -->
<?php wp_footer(); ?>
</body>
</html>