WordPress.org

Support

Support » Themes and Templates » [Resolved] Child Theme help before upgrade to 3.05

[Resolved] Child Theme help before upgrade to 3.05

  • Like a typical newbie I created two wordpress sites, Cornell’s Restaurant and Vatrano Park using the Twenty Ten theme, modifying the style.css, footer.php and sidebar.php of the theme. I know now, hindsight is 20/20, that if I update wordpress to 3.05 it will overwrite my modified files. I have read the WordPress tutorialbut am unclear on a few things.
    I need to create the Child theme directory, add the information header to the style.css, but do I then copy my current style.css, adding the information header, footer.php and sidebar.php to the Child theme folder?
    Then I activate the theme through the dashboard?
    As always thank you all for the help provided in these forums. Hopefully some day I will understand this enough to help idiots like me that don’t research before they jump!

Viewing 7 replies - 1 through 7 (of 7 total)
  • esmi

    @esmi

    Forum Moderator

    do I then copy my current style.css

    Ideally, no. You import Twenty Ten’s style.css into the child’s stylesheet and then only add your changes. You also need copies of any modified template files.

    Then I activate the theme through the dashboard?

    Correct.

    I guess my problem is I did not document the changes I made, I sort of made changes to style.css as I went along to get it looking and working right. I know, bad move obviously. I had no idea updates would cause issues, now I know.

    esmi

    @esmi

    Forum Moderator

    You try using a file compare tool to try and identify what changes you made & where.

    Thanks! Great idea.

    Thanks esmi, all worked perfectly!

    esmi

    @esmi

    Forum Moderator

    Excellent ! 🙂

    Can you recommend a good file compare tool?

    I am also on the track of righting newbie wrongs, and I know my changes were scattered throughout the php…I know I did some commenting, but there are multiple files to scrutinize — lessons learned!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Child Theme help before upgrade to 3.05’ is closed to new replies.
Skip to toolbar