forked from zyml/project-ar2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
executable file
·46 lines (36 loc) · 1.18 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
</div><!-- #main -->
<?php ar2_before_footer() ?>
<footer id="footer" class="clearfix" role="contentinfo">
<div class="footer-sidebar-container clearfix">
<?php
$footer_sidebars = 4;
for ($i = 1; $i < $footer_sidebars + 1; $i++) :
?>
<div id="footer-sidebar-<?php echo $i ?>" class="footer-sidebar clearfix xoxo">
<?php if ( !dynamic_sidebar( 'footer-sidebar-' . $i ) ) : ?>
<?php endif; ?>
</div>
<?php endfor; ?>
</div>
<nav class="footer-meta">
<ul id="menu-top-menus-1" class="menu clearfix">
<?php
wp_nav_menu( array(
'sort_column' => 'menu_order',
'menu_class' => 'menu clearfix',
'theme_location'=> 'footer-nav',
'container' => false,
'fallback_cb' => 'ar2_footer_nav_fallback_cb',
'depth' => 1,
'items_wrap' => '%3$s'
) );
?>
<li class="menu-item"><a href="#header"><strong><?php _e( 'Back to Top', 'ar2' ) ?></strong></a></li>
</ul>
<?php echo html_entity_decode( ar2_get_theme_option( 'footer_message' ) ); ?>
</nav><!-- .footer-meta -->
</footer>
</div><!-- #wrapper -->
<?php wp_footer() ?>
</body>
</html>