-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfooter.php
More file actions
58 lines (58 loc) · 1.45 KB
/
footer.php
File metadata and controls
58 lines (58 loc) · 1.45 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
<?php
declare(strict_types=1);
/**
* The theme's footer template
*
* @category Theme Framework
* @package Mist
* @subpackage Templates
* @since 1.0
*/
?>
<footer
class="bg-skeeg-400 static bottom-0 clear-both text-white leading-normal">
<div class="container md:flex p-42">
<div class="w-full md:flex-1 text-center">
<?php if (is_active_sidebar('footer1')) : ?>
<?php dynamic_sidebar('footer1'); ?>
<?php endif; ?>
</div>
<div class="w-full md:flex-1 text-center">
<?php if (is_active_sidebar('footer2')) : ?>
<?php dynamic_sidebar('footer2'); ?>
<?php endif; ?>
</div>
<div class="w-full md:flex-1 text-center">
<?php if (is_active_sidebar('footer3')) : ?>
<?php dynamic_sidebar('footer3'); ?>
<?php endif; ?>
</div>
<div class="w-full md:flex-1 text-center">
<?php if (is_active_sidebar('footer4')) : ?>
<?php dynamic_sidebar('footer4'); ?>
<?php endif; ?>
</div>
</div>
<div class="border-t-2 border-solid border-skeeg-500 py-4">
<div class="container">
<div class="flex">
<div class="flex-1 align-center self-center">
© 2020 - 42GEEKS.GG
</div>
<div class="flex-1 text-right">
<?php
// TODO: custom walker -> not needed with WP 5.4 -> use meta
echo wp_nav_menu(
[
'menu' => 'footer',
'menu_class' => 'list-none mist-inline-nav',
]
);
?>
</div>
</div>
</div>
</div>
</footer>
<?php wp_footer(); ?>
<!-- GG -->