Upload file footer.php via GUI
This commit is contained in:
@@ -39,14 +39,12 @@
|
||||
<?php if ( has_nav_menu( 'footer' ) ) : ?>
|
||||
<nav class="footer-navigation">
|
||||
<?php
|
||||
wp_nav_menu(
|
||||
array(
|
||||
wp_nav_menu( array(
|
||||
'theme_location' => 'footer',
|
||||
'menu_class' => 'footer-menu',
|
||||
'container' => false,
|
||||
'depth' => 1, // Nur eine Ebene
|
||||
)
|
||||
);
|
||||
'depth' => 1,
|
||||
) );
|
||||
?>
|
||||
</nav>
|
||||
<?php endif; ?>
|
||||
@@ -63,13 +61,11 @@
|
||||
if ( !empty($impressum_url) ) {
|
||||
$links[] = '<a href="' . esc_url($impressum_url) . '"><i class="fas fa-info-circle"></i> Impressum</a>';
|
||||
}
|
||||
|
||||
if ( !empty($datenschutz_url) ) {
|
||||
$links[] = '<a href="' . esc_url($datenschutz_url) . '"><i class="fas fa-shield-alt"></i> Datenschutz</a>';
|
||||
}
|
||||
|
||||
if ( !empty($links) ) {
|
||||
echo implode('', $links); // Kein Trennzeichen mehr, da wir Icons haben
|
||||
echo implode('', $links);
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
@@ -78,6 +74,11 @@
|
||||
</div><!-- Ende footer-bottom-bar -->
|
||||
</div><!-- Ende Container -->
|
||||
|
||||
<!-- FIX: Scroll-to-Top Button war im JS referenziert aber nie im HTML vorhanden -->
|
||||
<a href="#" id="scroll-to-top" aria-label="Zurück nach oben" title="Nach oben scrollen">
|
||||
<i class="fas fa-chevron-up"></i>
|
||||
</a>
|
||||
|
||||
<!-- THEME TOGGLE (Fixiert unten rechts) -->
|
||||
<button class="theme-toggle" aria-label="Dark/Light Mode umschalten" title="Dark / Light Mode">
|
||||
<div class="theme-toggle-icons">
|
||||
|
||||
Reference in New Issue
Block a user