Upload file footer.php via GUI
This commit is contained in:
@@ -15,13 +15,13 @@
|
||||
|
||||
<!-- 2. UNTERER BEREICH: Menü, Copyright, Legal -->
|
||||
<div class="footer-bottom-bar">
|
||||
|
||||
|
||||
<div class="footer-left-group">
|
||||
<!-- Copyright -->
|
||||
<div class="site-info">
|
||||
<?php
|
||||
$copyright_text = get_theme_mod( 'footer_copyright', '© ' . date('Y') . ' ' . get_bloginfo('name') );
|
||||
|
||||
|
||||
if ( get_theme_mod('show_footer_credit', true) ) {
|
||||
$full_footer_text = $copyright_text . ' <span class="footer-separator">|</span> <span class="footer-credit">
|
||||
<a href="https://m-viper.de" target="_blank" rel="noopener noreferrer">
|
||||
@@ -35,18 +35,16 @@
|
||||
?>
|
||||
</div>
|
||||
|
||||
<!-- Footer Menü ( falls vorhanden ) -->
|
||||
<!-- Footer Menü (falls vorhanden) -->
|
||||
<?php if ( has_nav_menu( 'footer' ) ) : ?>
|
||||
<nav class="footer-navigation">
|
||||
<?php
|
||||
wp_nav_menu(
|
||||
array(
|
||||
'theme_location' => 'footer',
|
||||
'menu_class' => 'footer-menu',
|
||||
'container' => false,
|
||||
'depth' => 1, // Nur eine Ebene
|
||||
)
|
||||
);
|
||||
wp_nav_menu( array(
|
||||
'theme_location' => 'footer',
|
||||
'menu_class' => 'footer-menu',
|
||||
'container' => false,
|
||||
'depth' => 1,
|
||||
) );
|
||||
?>
|
||||
</nav>
|
||||
<?php endif; ?>
|
||||
@@ -56,28 +54,31 @@
|
||||
<!-- Impressum & Datenschutz -->
|
||||
<div class="footer-legal-links">
|
||||
<?php
|
||||
$impressum_url = get_theme_mod('footer_impressum_url');
|
||||
$impressum_url = get_theme_mod('footer_impressum_url');
|
||||
$datenschutz_url = get_theme_mod('footer_datenschutz_url');
|
||||
$links = array();
|
||||
$links = array();
|
||||
|
||||
if (!empty($impressum_url)) {
|
||||
if ( !empty($impressum_url) ) {
|
||||
$links[] = '<a href="' . esc_url($impressum_url) . '"><i class="fas fa-info-circle"></i> Impressum</a>';
|
||||
}
|
||||
|
||||
if (!empty($datenschutz_url)) {
|
||||
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
|
||||
if ( !empty($links) ) {
|
||||
echo implode('', $links);
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div> <!-- Ende footer-bottom-bar -->
|
||||
</div> <!-- Ende Container -->
|
||||
|
||||
</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