Home › Forums › Basel support forum › Function.php
Function.php
- This topic has 3 replies, 2 voices, and was last updated 6 years, 8 months ago by Artem Temos.
-
AuthorPosts
-
March 26, 2018 at 10:59 am #48858
artemignatyev1611ParticipantHey. Really I dont have ideas what i can do.
Look I have child-theme. I just copy function.php file there from parent theme. But what I see? Look:
Notice: Constant BASEL_THEME_DIR already defined in /var/www/u0474800/data/www/orangeblack.store/wp-content/themes/basel/functions.php on line 13 Notice: Constant BASEL_THEMEROOT already defined in /var/www/u0474800/data/www/orangeblack.store/wp-content/themes/basel/functions.php on line 14 Notice: Constant BASEL_IMAGES already defined in /var/www/u0474800/data/www/orangeblack.store/wp-content/themes/basel/functions.php on line 15 Notice: Constant BASEL_SCRIPTS already defined in /var/www/u0474800/data/www/orangeblack.store/wp-content/themes/basel/functions.php on line 16 Notice: Constant BASEL_STYLES already defined in /var/www/u0474800/data/www/orangeblack.store/wp-content/themes/basel/functions.php on line 17 Notice: Constant BASEL_FRAMEWORK already defined in /var/www/u0474800/data/www/orangeblack.store/wp-content/themes/basel/functions.php on line 18 Notice: Constant BASEL_DUMMY already defined in /var/www/u0474800/data/www/orangeblack.store/wp-content/themes/basel/functions.php on line 19 Notice: Constant BASEL_CLASSES already defined in /var/www/u0474800/data/www/orangeblack.store/wp-content/themes/basel/functions.php on line 20 Notice: Constant BASEL_CONFIGS already defined in /var/www/u0474800/data/www/orangeblack.store/wp-content/themes/basel/functions.php on line 21 Notice: Constant BASEL_3D already defined in /var/www/u0474800/data/www/orangeblack.store/wp-content/themes/basel/functions.php on line 22 Notice: Constant BASEL_ASSETS already defined in /var/www/u0474800/data/www/orangeblack.store/wp-content/themes/basel/functions.php on line 23 Notice: Constant BASEL_ASSETS_IMAGES already defined in /var/www/u0474800/data/www/orangeblack.store/wp-content/themes/basel/functions.php on line 24 Notice: Constant BASEL_API_URL already defined in /var/www/u0474800/data/www/orangeblack.store/wp-content/themes/basel/functions.php on line 25 Notice: Constant BASEL_SLUG already defined in /var/www/u0474800/data/www/orangeblack.store/wp-content/themes/basel/functions.php on line 26March 26, 2018 at 1:16 pm #48910
Artem TemosKeymasterHi,
You can’t simply copy our functions PHP files and override them in the child theme. You can do this only copying functions one by one and customize them.
Regards
March 26, 2018 at 1:18 pm #48911
artemignatyev1611ParticipantSo what I should do now?
Can you help me to fix this problem?March 26, 2018 at 1:34 pm #48918
Artem TemosKeymasterJust remove the file you copied and restore the original child theme’s functions.php file.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register