How To Backup Your WordPress Theme Files
May 16th, 2007 by CourtHow mad would you be if you made a tiny change to your site that made the entire layout not function correctly? It happens to people all the time! By fiddling, you can create a tiny mistake in the code that will throw off the whole site. Normally it happens while people are installing a plugin, trying to add a widget, or adding custom graphics.
Taking 20 seconds to make a backup before messing with a file can prevent the problem. Before I make any change to a theme file, I make sure that I have it backed up. That way, I can fiddle as much as I want! If something gets messed up, I go back to the way it was before I fiddled!. It’s the easiest thing in the world to do. Here are the steps:
- Login to your WordPress admin.
- Go to ‘Presentation’.
- Go to ‘Theme Editor’.
- Look at the right side of the screen, where you will find all of your theme files.
- Find the file you want to backup. If you are going to fiddle with your header file, you’re going to locate the header file. If you’re installing a widget in your sidebar, find the sidebar file, etc.
- Click on the file you want to backup. WordPress will then load the code for the file into the edit box, which is the huge box that will then have all the HTML funny looking symbols in it.
- Highlight the entire code with your mouse. To make sure that all the code is highlighted, you could just click your mouse in there and then hold ‘Ctrl’ and hit ‘a’. ‘Ctrl A’ highlights everything.
- Copy the code with your mouse. Right click your mouse and select ‘copy’ to do this.
- Open up Notepad on your computer. You can find Notepad by going to ‘Start’ in the lower, left-hand corner of your screen, then ‘All Programs’, and finally ‘Accessories’. Click Notepad.
- Paste the code you copied previously into Notepad.
- Save the file to a location where you can find it later.
That’s it! Now if anything gets messed up while you’re fiddling you can simply paste the original, backed-up copy of the code back into the code editor box!
I bet you can learn to do it in twenty seconds or less. Who can do it the fastest without messing up?
Related Posts:
New Search Engine Optimized WordPress Theme - Africa Theme 1
I spent some time today to optimize a very unique and beautiful WordPress theme. Africa theme 1 is a...
How To FTP Using FileZilla
There are quite a few reasons you would need to use FTP if you have a website, especially if it's a ...
Make Money Online w/ An SEO’d Theme III
There are now 13 search engine optimized WordPress themes that I have personally optimized.
Benefit...
Make Money Online w/ An SEO’d Theme
Could the new, search engine optimized version of my WordPress theme be the reason why I suddently m...
How To Install A New WordPress Theme
In this video we will show you how to install a new WordPress theme. The vid is part of my 'How To S...
Arabian Sea - New Search Engine Optimized WordPress Theme
The Arabian Sea theme is now complete, and is the newest of my search engine optimized WordPress the...

May 17th, 2007 at 6:25 am
Would it not be faster and less complicated to just connect via FTP and download your theme’s folder?
- Martin Reed
May 17th, 2007 at 9:27 am
Yes, assuming that you knew what FTP was! Many of the people that ask me for help have no idea what it is.
May 17th, 2007 at 12:26 pm
Ooops, I always forget that in this day and age of the CMS there are people that will not even understand what FTP stands for!
Thanks for the reminder
- Martin Reed
May 17th, 2007 at 11:57 am
You could also Right Click and do ‘Select All’ to highlight all the text in the editbox.
May 17th, 2007 at 4:32 pm
Great advice, Court. Just a few days ago, I tried to make a minor change to the sidebar and ended up with nothing but an error message showing in the sidebar. Since I always keep a backup, I just copied and pasted my backup into the theme editor and was back in business in no time. Without that backup, it would have taken much more time - and frustration!
May 17th, 2007 at 4:40 pm
Glad to hear it! I help some friends with their blogs, and a few of them are constantly messing things up! They lose their minds when things get messed up and I keep asking them, “Where’s your backup?” Lol it makes me crazy!
August 29th, 2007 at 2:53 pm
There was one time I wished I did this. Had to do my whole sidebar again. Will I do it every time though. Nah…I’m to lazy.
May 20th, 2008 at 7:35 am
[…] You can easily backup a single theme file by going to the Theme Editor under Design, clicking the file, and then copying-and-pasting the contents of the theme file you’re editing into a Notepad document. Read more detailed steps here. […]
June 2nd, 2008 at 6:36 pm
[…] Source : Court’s Internet Marketing School […]