Functions.php in child theme is not overriding original functions
-
Hi there, Im trying to make a child theme that is very customised, however I have come across some issues regarding adding additional google fonts. I have disabled function merlin_google_fonts_url() in your original functions.php and added the fonts I would like to use in the child functions.php but your updates are going to keep overriding this.
How is my child theme functions.php not taking precedence for this function? I have never come across this before…. here is the error:
Fatal error: Cannot redeclare merlin_scripts() (previously declared in /home/primebling/public_html/wp-content/themes/merlin_child/functions.php:18) in /home/primebling/public_html/wp-content/themes/merlin/functions.php on line 172
Also where do I edit the following text “Posted on ___ by ___”? is it the merlin.pot file? I have tried to include your /languages/merlin.pot file [edited with the text I want] in the child theme, but your settings are overriding it, similar to the functions.php issue outlined above.
- The topic ‘Functions.php in child theme is not overriding original functions’ is closed to new replies.