Child Theme Question
-
I just learned about the child theme. and im in the process of setting it up for my site.
THE PROBLEM is this entire time iv been editing the main files.
I have my site exactly how I like it.
What do I do to save everything how it is. so if I ever update the theme I don’t loose everything ?
Please walk me through this im very new to all this
THANK YOU AND GOD BLESS
I just downloaded filezilla im in the process of setting it up
please anyone 🙂 ?
Admin
Don’t bump your own topic when it has just been 5 hours since you posted. This is a community support forum, and everyone here is volunteering their time to help people out. So be patient a little bit.
With regard to your issue, since you’ve been editing the theme’s files, I’m afraid you’ll have to start over again. In general the process goes like this:
1. Download your current modified theme for backup
2. Replace the theme on your site with the original Graphene theme
3. Create and activate the child theme
4. Make changes to the child theme to reflect the changes you previously made to the theme files
please there has to be a way to not start over again??? When you mean “start over” does that mean all the plugins I installed and widgets, and the colors iv picked and the words iv typed will be erased ?
and sorry about bumping it
Admin
Quote:please there has to be a way to not start over again???Not really, no. This is why we always encourage people to never edit the theme’s files, and start with a child theme from the beginning. Though you could use a diff checker program to check the difference between the original theme files with the files you have updated. This will help in the transition a bit, but you’ll still have to migrate all those changes to a child theme.
Quote:When you mean “start over” does that mean all the plugins I installed and widgets, and the colors iv picked and the words iv typed will be erased ?No, just the changes that you’ve made to the theme’s files. All other contents and plugins are separate, and will not be affected.
what diff checker program do you recommend? Because I do not remember what iv changed from the main theme files. And how do I compare it to the original theme files? where can I view that info?
and do I really even have to create a child theme?
I have my website backed up every 36 hours by my hosting company so if I mess something up cant I just asked them to bring back the last copy? (Im new to this)
Thank you for your help I really appreciate it
Admin
WinMerge: http://winmerge.org/
Admin
Quote:and do I really even have to create a child theme?If you want to be able to update the theme in the future without losing your customisations, yes.
Quote:I have my website backed up every 36 hours by my hosting company so if I mess something up cant I just asked them to bring back the last copy? (Im new to this)You can, but it can take some time for them to do so. Also, some server backup can’t restore individual files, so they’ll probably have to restore your entire server/domain, with the database and all.
You just need to backup the theme’s files that you modified so that you can reference to them later on. Relying on the server backup just for that is definitely an overkill.
ok I just downloaded winmerge. and like 4 hours ago I downloaded Filezilla. I assume the first step would be to compare the files I have with the original files. How do I get them on my computer instead of the wordpress site to drag and drop it into winmerge? (and how do I find the original grapheme files to drag and drop into winmerge to compare it) ?
Admin
Use FileZilla to FTP to your site and download the theme files. You can get the original Graphene files from here:
- You must be logged in to reply to this topic.
