From 0cfd80d0b957db4b4498825a07c49edacfbb9f85 Mon Sep 17 00:00:00 2001 From: Christoph Mai Date: Wed, 29 Oct 2025 18:15:09 +0100 Subject: [PATCH] First version --- README.md | 21 +++++++++++++++++++++ functions.php | 12 +++++++++++- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e69de29..a96c9c3 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,21 @@ +## agentur2c-enfold-child + +### Child Theme for the Enfold Wordpress Theme + +*Installation in Wordpress:* +``` +ZIP-Paket herunterladen: +https://git.agentur2c.net/agentur2c/agentur2c-enfold-child/archive/main.zip + +In Wordpress -> Design -> Themes -> [Theme hinzufügen] + +``` + +*Installation auf Server:* +``` +cd $WORDPRESS/wp-content/themes/ +wget https://git.agentur2c.net/agentur2c/agentur2c-enfold-child/archive/main.tar.gz -O agentur2c-enfold-child.tar.gz +tar xvzf agentur2c-enfold-child.tar.gz +chown -R web$$:web$$ agentur2c-enfold-child + +``` diff --git a/functions.php b/functions.php index fc0207e..e94c4f4 100755 --- a/functions.php +++ b/functions.php @@ -2,4 +2,14 @@ /* * Add your own functions here. You can also copy some of the theme functions into this file. * Wordpress will use those functions instead of the original functions then. -*/ \ No newline at end of file +*/ + +/* +* Enfold Debugging-Info im Quelltext ausblenden +*/ +if(!function_exists('avia_debugging_info')){ + function avia_debugging_info() { + // + } +} +