How to save your modification of twenty ten if this wordpress 3.0.1 default theme does update, to avoid loosing all css style or other customizations by copying the theme folder.
I have many posts how we can customize twenty ten tutorials and it has never came to my mind about twentyten updates, (probably because i don’t use twenty ten) but today, i have tried myself today on a testblog, that if twentyten theme has updates, and we do not copy or create child themes, our all changes of modifications will be just gone.
It can be pain if whenever twenty ten updates, you have to repeat all the work again.
The solution to solve this, is I decide to copy the original theme, because it is more simple for non-techie people like myself.
So here are the steps to copy twenty ten, it is actually extremely easy.
Video Tutorial how to copy:
1. Login to your dashboard, and then appearance, themes.
Notice that you are using Twenty ten, and it says:”all of this theme’s files are located in /themes/twentyten .”
2. Next step is login to your cPanel, and find “file manager”.
3. Navigate to wp-content folder, and then themes folder.
4. Inside your themes folder, you will see twenty ten.
5. Select by ticking “TwentyTen”.
6. Click “Copy” icon (no.6 in the image above).
7. In the copy dialog box, type in a name of this copied theme, in this demo, i name it “mycustomtwentyten”. (no.7 in the image). Click “Copy File(s)” button.
8. Login to your dashboard again, and see appareance, themes, you will see two of twentyten images. But notice that the file theme locations are different.
One is /theme/twentyten (below image) and the other is /themes/mycustomtwentyten. Mycustometwentyten is the current theme that comes with our customizations.
This way, whenever the original twenty ten updates, we are save because we have our own twenty ten’s modifications.
Links:
- BigDump Alternative – When BigDump Failed Importing Large WP Database
- 1TB usb mini 2.5 external portable hard drive for mac and windows
- Twenty ten favicon — add favicon.ico in twenty ten theme
- Wordpress twenty ten rss feed icon video tutorial
- Category featured image -thumbnails in WordPress category page








{ 10 comments… read them below or add one }
I’ve made a lot of change on my twenty ten themes..thanks for the article..
@cascd, you’re welcome.
I have just realised that the videos didn’t show up :(
But i have fixed them, thanks for the comment cascd.
I believe this trick won’t work, cause WordPress identifies themes by their “style.css” header, regardless of their directory name. So, the directory copy must be local, or if the copy is remote, “style.css” has to be changed. Codex says: “In addition to CSS style information for your theme, ‘style.css’ provides details about the Theme in the form of comments… No two Themes are allowed to have the same details listed in their comment headers, as this will lead to problems in the Theme selection dialog.”
@Emilio, I have tried it myself and i posted the video when it updates the theme.
Thanks for the great input Emilio.
I love your blog and videos!
I’m going to do this, since creating a child theme is too much of an annoyance for a beginner like me.
One question: do you know for sure if this will work? And if Wordpress does make an upgrade, does it happen automatically? tia!
Hi Mileena,
Yes, I am sure it will work, did you watch the video? Actually, I also made a demo where I had to update my older Twenty Ten to the newest, and the modification stays.
No, it does not happen automatically, it will notify you there is an update, but if you don’t press “update” button, your wordpress won’t update too
I hope this helps..
Have a nice weekend!
Kimi.
Thank you for your reply Kimi! <3
I was just being paranoid! lol
My last question is: do only the edits you made in the style.css remain untouched? While everything else is gone like all the changes you made in the php files (like the header, etc). How about with widgets like Adsense? Sorry for the silly questions – total newbie here!
thank you again!
No problem, Mileena,
Yes, the modfications which are made with style.css remains unchanged, while others will also remains unchanged, because they are in the “new” copied folder.
If you make changes in other files, but still in the copied folder, your own modified twenty ten theme, it won’t change. But the files that outside the copied twenty ten folder, will change.
same as the answer above :-)
Don’t worry, I will answer if I can!
Thanks.
Thank you so much! I just upgraded to 3.1.3 after making a custom twenty-ten theme.
It worked a little different than in the video for some reason: 1) It reverted my site to the standard twenty-ten theme (but i simply changed back to the custom one i made). And 2) it ‘forgot’ my header picture and background color (though those were a quick change back to what I had set them).
However, by following these steps it did preserve the major changes i made to add a logo and customize the padding etc around the header.
Thanks.
Hi Brad,
Welcome to my blog :)
I guess it ran a different than in video, because the current Twenty Ten has some different codes at the time when I created this video.
Glad to hear that it could help a bit.
Thank you for coming accros, and leave a comment
Kind regards,
Kimi.