• Resolved Andy

    (@andythreecoaching)


    Hi there,

    I backed up all my work and upgraded wordpress recently. I had this default theme called TwentyTen and just modified it to suit my needs.

    When i checked back all my css work was destroyed and so i reverted back. Now i’m a little nervous about upgrading anything!

    What procedure should i follow to keep my theme safe?

    thx

Viewing 15 replies - 1 through 15 (of 16 total)
  • Make a copy of the TwentyTen theme, rename it and carry out all of your customisations on this new theme copy.

    Thread Starter Andy

    (@andythreecoaching)

    no,no,no..

    I started with TwentyTen, tweaked it for a solid month, so my site is (in name only) still TwentyTen based. So when i upgrade, it replaces all my css.

    How can i get it to not replace all my custom css – that’s my question.

    Make a copy of the TwentyTen theme, rename it and carry out all of your customisations on this new theme copy.

    exactly what @esmi said

    You can’t edit the 2010 theme, it will get replaced every time you upgrade. You have to make a copy of it and call it something different…. can be a simple name change like my2010 or something, but you have to rename a copy or you will always lose your changes.

    Thread Starter Andy

    (@andythreecoaching)

    right you are… question/s though:

    what exactly do i rename? Just the folder?

    If i rename the folder, is there any code i need to update so WP can find it again once it’s renamed?

    the folder, and the theme name in the style.css

    Ok, a bit different issue here: I had an old “classic” theme (modified and tweaked to my need) at my WP site and then I just updated to WP3.0. It turned out a 100% success with my original “classic” theme intact w/o any change or “damage”. Now I see the new default theme “2010” and I like it, but when I preview it, it is not set and configured as my “classic” theme (e.g., the starting page shows complete content of all posts instead of just the excerpts only, etc.) I know I can edit, change, and modify probably most of these from scratch, but I’ll be most glad if I can import my old theme configuration to the new theme. Does anyone know how to do this?

    p.s., I just wonder if the new default theme supports deploying all the widgets the old one does?

    Thanks for help.

    You can’t import on theme’s settings to another theme. And the new default theme supports even more widget areas than the old theme.

    Thread Starter Andy

    (@andythreecoaching)

    Right. Getting frustrating here, been trying this all night.

    I have one folder in my themes called ‘twentyten’.

    I rename it and my site disappears. Kinda makes sense.

    the word ‘twentyten’ appears a LOT in my wp theme files/css. Is there just one or MANY instances where i have to rename references to ‘twentyten’ to my new theme name?

    I can’t find where it is i have to change the code so it’s no longer looking for ‘twentyten’ and is instead looking for whatever i rename my theme folder to.

    cheers

    It was suggested that you copy the 2010 theme folder – not delete it! You were also advised to change the copied folder’s name and the theme name in the style.css file inside the copied folder.

    And then you need to change your settings so that it’s using your-theme-name-not-twentyten-or-other-existing-theme-name theme not twenty-ten.

    ??

    in other words, Appearance-Themes-choose new theme- choose the right theme (ie the renamed twenty-ten theme)

    Thread Starter Andy

    (@andythreecoaching)

    Right. Think i’m there now.

    Confusion was this:

    I tried before to simply duplicate my twentyten folder and rename it then attempt to select it in the ‘choose theme’ section. But the thumbnail and description of the duplicate obviously hadn’t changed. It looked like absolutely nothing had happened. I thought the thumbnail preview was dynamic see.

    So i found the ‘screenshot.png’ plus the info at the top of the style.css file and customized that. NOW when i select a theme you can see the difference.

    Time to try the update and hope it works.

    Thread Starter Andy

    (@andythreecoaching)

    Nice,

    I upgraded and now my site looks like this:


    https://www.threecoaching.com

    Is this going to be the situation every time i upgrade??

    Not if your new custom theme is called something other than TwentyTen and is in it’s own, unique folder.

    Thread Starter Andy

    (@andythreecoaching)

    ‘fraid so.

    That’s exactly the case.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘WordPress upgrade overwrites my custom theme’ is closed to new replies.