From 76218121a49189289a3b719e5baae5ee6172e022 Mon Sep 17 00:00:00 2001 From: M_Viper Date: Sun, 30 Nov 2025 13:27:00 +0000 Subject: [PATCH] Minecraft-Modern-Theme/functions.php aktualisiert --- Minecraft-Modern-Theme/functions.php | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/Minecraft-Modern-Theme/functions.php b/Minecraft-Modern-Theme/functions.php index cb5df52..9cf91d0 100644 --- a/Minecraft-Modern-Theme/functions.php +++ b/Minecraft-Modern-Theme/functions.php @@ -388,4 +388,30 @@ add_action('login_head', 'customize_login_page'); function custom_login_url() { return home_url(); } add_filter('login_headerurl', 'custom_login_url'); function custom_login_title() { return get_bloginfo('name'); } -add_filter('login_headertext', 'custom_login_title'); \ No newline at end of file +add_filter('login_headertext', 'custom_login_title'); + +// ========================================================================= +// === SCROLL TO TOP BUTTON =============================================== +// ========================================================================= + +// Fügt den HTML-Code für den Button zum Footer hinzu +function add_scroll_to_top_button() { + ?> + + + +