Twenty Ten Child Theme is the solution if this WordPress 3.0.1 default theme does update, to avoid loosing all css style or other customization.
I have many posts how we can customize twenty ten tutorials and for that, you will need a child theme, today, I have tried myself today on a testblog, that if Twenty Ten theme has updates, and we 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 create Twenty Ten child theme, because it is quite simple for non-techie people like myself.
So here are the steps to create Twenty Ten child, it is actually easy.
Video Tutorial how to copy:
1. Login to your web server, in this tut, I use FileZilla.
2. Next step is, finding wp-content folder, and then themes folder.
3. Inside your themes folder, you will see twentyten folder. This is the parent theme folder, that we want to create a child theme from.
4. Still inside “themes” folder, create a folder, we name it, “twentyten-child”
5. Then, inside “twentyten-child” folder, create style.css and functions.php
6. Copy the codes from the child theme codex. Change the code accordingly.
7. Login to your dashboard again, and see Appearance — Themes, you will see your child theme. Before you activate, keep in mind, it is possible that your widgets that you already added will be inactive, if you want to avoid it, read this post.
Now, you can preview your child theme, or activate it.
This way, whenever the parent theme Twenty Ten has updates, we are save because we have our child theme.
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 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!
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!
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!
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.
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