Upload footer.php via GUI

This commit is contained in:
2025-12-29 21:43:24 +00:00
parent 79b798d5fe
commit 5987417f36

View File

@@ -33,12 +33,16 @@
// Prüfen, ob der Credit angezeigt werden soll // Prüfen, ob der Credit angezeigt werden soll
if ( get_theme_mod('show_footer_credit', true) ) { if ( get_theme_mod('show_footer_credit', true) ) {
// Wenn ja, den Credit-Text mit einem Trennzeichen anhängen $full_footer_text = $copyright_text . ' | <span class="footer-credit">
$full_footer_text = $copyright_text . ' | <span class="footer-credit">Minecraft Theme Erstellt von M_Viper 2025</span>'; <a href="https://m-viper.de" target="_blank" rel="noopener noreferrer"
} else { style="color: inherit; text-decoration: none;">
// Wenn nein, nur den Copyright-Text verwenden Minecraft Theme Erstellt von M_Viper 2025
$full_footer_text = $copyright_text; </a>
} </span>';
} else {
$full_footer_text = $copyright_text;
}
// Den kompletten Text ausgeben // Den kompletten Text ausgeben
echo '<p>' . wp_kses_post( $full_footer_text ) . '</p>'; echo '<p>' . wp_kses_post( $full_footer_text ) . '</p>';