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
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">Minecraft Theme Erstellt von M_Viper 2025</span>';
} else {
// Wenn nein, nur den Copyright-Text verwenden
$full_footer_text = $copyright_text;
}
$full_footer_text = $copyright_text . ' | <span class="footer-credit">
<a href="https://m-viper.de" target="_blank" rel="noopener noreferrer"
style="color: inherit; text-decoration: none;">
Minecraft Theme Erstellt von M_Viper 2025
</a>
</span>';
} else {
$full_footer_text = $copyright_text;
}
// Den kompletten Text ausgeben
echo '<p>' . wp_kses_post( $full_footer_text ) . '</p>';