• Resolved rofllikeomg

    (@rofllikeomg)


    I began hacking at the styles.css file inside of the 2011 theme. I also may have altered several of the other files along with it. I believe this was very foolish, from what I understand now, when WordPress Updates I will lose all of my information.

    Is this correct?

    Would it help if I have made it a Child Theme?

    Is there any way to convert what I have now into another theme?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Yes you want to make a Child Theme for sure. Luckily it is pretty easy if all you changed was the css.

    Basically create a folder on your desktop (YourThemeName). Inside of it create a file called style.css then using a text editor or whatever web editor you may use (Dreamweaver, etc) put this at the top of style.css

    /*
    Theme Name:     Twenty Eleven Child
    Theme URI:      http://example.com/
    Description:    Child theme for the Twenty Eleven theme
    Author:         Your name here
    Author URI:     http://example.com/about/
    Template:       twentyeleven
    Version:        0.1.0
    */
    @import url("../twentyeleven/style.css");

    You can edit most of those details but you want to keep the Template and @import url the same.

    Next up add any of the changes you made to the 2011 css (you only need to add the changes since the @import function will bring it the rest). Anything you do in this file will overwrite the Parent’s style.

    Now zip the folder and upload it via the Admin-Appearance-Themes

    I hope that made sense, here is the codex page if you need more help.
    http://codex.wordpress.org/Child_Themes

    Thread Starter rofllikeomg

    (@rofllikeomg)

    Thanks for the prompt reply.

    I found a website:

    http://www.rvoodoo.com/projects/wordpress/wordpress-tip-stop-editing-twentyten-theme-use-a-child-theme/

    that explained my options pretty well. What I did was download the theme via my ftp browser, saved it as another name, renamed the style.css file, zipped it, and reinstalled it as another theme.

    This seemed to be fairly straightforward. The site I am building will not (most likely) need updates in the future other than simple text updates. It is to be an archival site of sorts.

    Thanks again for the reply, and let me know if this changes anything.

    Good stuff! Happy coding!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Overwritten TwentyEleven–Child Theme?’ is closed to new replies.