-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
93 lines (89 loc) · 2.12 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<h2 class="farewell">Wie freuen uns auf dich!</h2>
<footer class="site-footer">
<div class="wrapper-left">
<div class="navigation-wrapper">
<div class="navigation">
<h3>Navigation</h3>
<?php
wp_nav_menu(array(
'theme_location' => 'menu-footer-nav',
));
?>
</div>
<div class="navigation">
<h3>Informationen</h3>
<?php
wp_nav_menu(array(
'theme_location' => 'menu-footer-info',
));
?>
</div>
<div class="navigation">
<h3>Diverses</h3>
<?php
wp_nav_menu(array(
'theme_location' => 'menu-footer-div',
));
?>
</div>
</div>
<div class="logo">
<?php
if (function_exists('the_custom_logo')) {
?>
<div class="site-logo">
<?= the_custom_logo() ?>
</div>
<?php
} else {
?>
<a href="<?php echo esc_url(home_url('/')); ?>" class="site-logo">
<?= bloginfo('name'); ?>
</a>
<?php
}
?>
</div>
</div>
<div class="wrapper-right">
<div class="navigation">
<h3>Administration</h3>
<?php
wp_nav_menu(array(
'theme_location' => 'menu-footer-admin',
));
?>
</div>
<?php
if (function_exists('wp_nav_menu')) {
$menu = wp_nav_menu([
'theme_location' => 'menu-footer-buttons',
'container_class' => 'button-wrapper',
'echo' => false,
]);
$menu = str_replace('class="menu-item', 'class="menu-item style-plain', $menu);
$menu = preg_replace('/style-plain/', 'style-destructive', $menu, 1);
echo $menu;
}
?>
<div class="legal">
<p>© 2024 - Hüttenbau Oberi<br />
Alle Rechte vorbehalten</p>
<?php
wp_nav_menu(array(
'theme_location' => 'menu-footer-legal',
));
?>
</div>
</div>
</footer>
<div class="accent-bar"><span>© <?php echo date("Y"); ?> - Hüttenbau Oberi</span></div>
<?php wp_footer(); ?>
</body>
<!--
|\__/,| (`\
_.|o o |_ ) )
-(((---(((--------
Designed by Noah Geeler
-->
</html>