child theme
-
So my website is a couple years old now. In the beginning I didn’t know anything about child themes and edited several things in the main graphene theme ( i believe in functions.php and style.css). I know I made a huge mistake by doing this. I can’t update my graphene theme without it messing everything up. I don’t remember what things I changed and there was a good amount that I did change. What is the best way to go about fixing this? Thanks in advance!
Download current version of style.css, functions.php and any other file that you altered.
Update theme.
Install child-theme.
All code from downloaded file that aren’t in updated files put in child theme. (You should download new files and compere the code from old ones).
This is not as bad as it sounds 🙂
Mod
Quote:I’m guessing it’s not a good idea to copy over everything from each file into the child theme then update?You’re correct; this can cause serious problems.
Instead, use a program like diff checker to compare the differences between the two files. There are also web sites that will do this for you.
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
