Make A Copy Before Modifying Twenty Ten

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 .”

Current Theme files.

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”.

Copy button in cPanel.

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.

Giving the copy theme a name.

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.

Your own copied twentyten folder.

This way, whenever the original twenty ten updates, we are save because we have our own twenty ten’s modifications.

Share the knowledge
Share on Google+0Tweet about this on TwitterShare on Facebook0Pin on Pinterest0Share on Reddit0Email this to someonePrint this page


    • says

      @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.

  1. Emilio says

    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.”

  2. Mileena says

    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!

    • says

      Hi Mileena,

      do you know for sure if this will work?

      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.

      And if WordPress does make an upgrade, does it happen automatically?

      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!


  3. Mileena says

    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!

    • says

      No problem, Mileena,

      do only the edits you made in the style.css remain untouched?

      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.

      While everything else is gone like all the changes you made in the php files (like the header, etc)

      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.

      How about with widgets like Adsense?

      same as the answer above :-)

      Don’t worry, I will answer if I can!


  4. says

    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.


    • says

      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,