child theme troubleshooting
-
Hi all,
I am a newbie and first time posting.
Okay, I started building a website by following some youtube videos using the 2013 theme. I am almost done, say 80%.I wanted to have the header adjust as I adjust the browser size. After reading some threads, I realized that I have to create a child theme.
First I had trouble because I received an error of broken theme. I fixed it and was due to the template name not being the same as the parent theme name.
Now, I get the following error when I try to activate the child theme: Fatal error:
Cannot redeclare twentythirteen_setup() (previously declared in /home/ldinte5/public_html/wp-content/themes/twentythirteen-child/functions.php:69) in /home/ldinte5/public_html/wp-content/themes/twentythirteen/functions.php on line 108Somethings I did differently that maybe causing the issue? In my child theme folder I copied all the contents of the parent theme. I did this because I am almost 80% done and wanted to keep all my changes in other files (if applicable). I am not sure what other files contain my custom changes. Also if there is an update to WP in the future, files that I’ve modified will not get overwritten.
Please let me know how I can resolve the error above.
thanks,
Joseph
- The topic ‘child theme troubleshooting’ is closed to new replies.