-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfooter.php
More file actions
52 lines (45 loc) · 1.3 KB
/
footer.php
File metadata and controls
52 lines (45 loc) · 1.3 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
<?php
use \Tofino\ThemeOptions\Notifications as n;
?>
</div>
<div class="mt-12">
<?php get_template_part('templates/partials/email-signup'); ?>
</div>
<footer>
<div class="container">
<div class="flex flex-col md:flex-row md:justify-between gap-4">
<div>
© <?php echo date('Y'); ?> Transition Network
</div>
<div>
<div id="footer-nav">
<?php wp_nav_menu( array('theme_location' => 'footer_nav') ); ?>
</div>
</div>
</div>
</div>
</footer>
</div><!-- /.drawer-content -->
<!-- Mobile sidebar -->
<div class="drawer-side z-1100">
<label for="mobile-nav-drawer" aria-label="close sidebar" class="drawer-overlay"></label>
<?php
if (has_nav_menu('primary_nav')) :
wp_nav_menu([
'menu' => 'nav_menu',
'theme_location' => 'primary_nav',
'depth' => 2,
'container' => '',
'container_class' => '',
'container_id' => '',
'menu_class' => 'menu bg-base-200 min-h-full w-72 p-4 pt-20 text-base',
'items_wrap' => '<ul id="%1$s" class="%2$s">%3$s</ul>',
'walker' => new Tofino\Nav\NavWalker()
]);
endif; ?>
</div>
</div><!-- /.drawer -->
<?php wp_footer(); ?>
<?php n\notification('bottom'); ?>
</body>
</html>