WordPress.org

Support

Support » Themes and Templates » [Resolved] Switching themes

[Resolved] Switching themes

  • I have created my website, can I switch to different theme templates to see what it looks like or will this mess things up?

    What about php files that have been modified?

Viewing 15 replies - 1 through 15 (of 19 total)
  • Jeremy Clark

    @jeremyclark13

    Member

    As long as you don’t update or overwrite the theme with the modified files you can switch themes without any problems. For reference it’s usually best to create a child theme for modifying themes: http://codex.wordpress.org/Child_Themes

    esmi

    @esmi

    Forum Moderator

    can I switch to different theme templates to see what it looks like

    Yes you can.

    What about php files that have been modified?

    What .php files?

    I have done some minor modifying in Apperance/Editor I guess that dosen’t effect the theme template?

    esmi

    @esmi

    Forum Moderator

    Well, the theme’s template files will be .php, so yes – they are affected. But switching to another theme won’t undo those changes.

    So then it is safe to look at my website with different theme templates and if something is messed up I can just switch back?

    esmi

    @esmi

    Forum Moderator

    Yes. The only way you could wipe out your changes is if you uploaded a fresh copy of the theme or upgraded it. This is why we recommend using a child theme for all of your customisations.

    I read the Codex/Child Themes and I must say that I don’t get it. I’m sure I am missing something like why would you do this? What is the benefit? Isn’t this just duplication of everything? Or is it so that you maintain an untouched copy of the template?

    Sorry, I’m new…

    esmi

    @esmi

    Forum Moderator

    What is the benefit?

    You can upgrade the parent theme & have the benefit of any nice new features without wiping out any of your theme customisations.

    Isn’t this just duplication of everything?

    Nope. The child theme only stores any customised files.

    It sounds like this is something I should do but is it all complicated now that I have already customized some things?

    Let me ask you this, could I rename my present theme as a child (since I have already modified it)and download a fresh theme as the parent to achieve this?

    esmi

    @esmi

    Forum Moderator

    I think your best bet would be to rename your custom theme as a new standalone theme and then re-download a fresh copy of the original.

    A new stand alone? or a child of a fresh copy of the original?

    esmi

    @esmi

    Forum Moderator

    A new stand alone.

    Sorry I guess I am getting confused, if it is a stand alone and not a child of the original then isn’t that basically what I have now? Then what would be the point?

    esmi

    @esmi

    Forum Moderator

    Right now, you have a customised copy of Twenty Ten which could be updated at any time – thereby wiping out all of your changes.

    I am actually using Flexibility 3 Theme. But in your example for there to be a benefit wouldn’t it need to be a parent child relationship to do the modifications in the child and not be wiped out by an update to the parent?

    Are themes updated at any time without warning or a chance to opt out?

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘[Resolved] Switching themes’ is closed to new replies.