-
Notifications
You must be signed in to change notification settings - Fork 1
/
footer.php
52 lines (51 loc) · 1.41 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>
<aside id='widgets'>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('revenudebase_sidebar') ) : ?>
<?php endif; ?>
</aside>
</section>
<footer>
<div class='columns'>
<?php
$footerMenus = array(
'footer_menu_left',
'footer_menu_center_left',
'footer_menu_center_right',
'footer_menu_right'
);
foreach ( $footerMenus as $footerMenu ) :
if ( has_nav_menu( $footerMenu ) ) :
?>
<div class='column'>
<h2><?php wp_nav_menu_title( $footerMenu ); ?></h2>
<?php
wp_nav_menu( array(
'container' => '',
'theme_location' => $footerMenu
));
?>
</div>
<?php
endif;
endforeach;
?>
</div>
<div class='credits'>
Revenu de Base est propulsé par
<a href='http://wordpress.org'>Wordpress</a>
sur un thème de
<a href=''>Gnuside</a>
et un design de
<a href=''>Guillaume Argence</a>
.
<br />
Tous les contenus sauf exceptions signalées sont sous
licence
<a href=''>CREATIVE COMMONS BY SA</a>
.
</div>
</footer>
</div>
<?php wp_footer(); ?>
</body>
</html>