WordPress.org

Ready to get started?Download WordPress

Forums

functions.php code to add to child theme (5 posts)

  1. nvolkert
    Member
    Posted 2 years ago #

    what code do I add to my child theme so my theme modifications will not be lost. I think it's something to do with functions.php. Want to update to 3.3.

  2. dragonsjaw
    Member
    Posted 2 years ago #

    Your child theme modifications shouldn't be touched with an upgrade to 3.3
    Is you theme a child of 2010 or 2011? If so you can choose to update those themes separate from the 3.3 core upgrade.

  3. nvolkert
    Member
    Posted 2 years ago #

    I modified my background color, header image, etc with twenty eleven. THEN after that I made a twentyeleven-child and added style.css

    I am under the impression that if I upgrade to 3.3 that my changes I made on themes (background color , header image, etc) will go back to the default settings. Are you saying that they won't?

    Thanks.. i'm new to all this

  4. dragonsjaw
    Member
    Posted 2 years ago #

    I haven't lost backgrounds or headers when updating mine. But I made a proper child theme in the beginning. Make sure you have the header img located in themes/child-theme/images
    and that the child CSS is updated to whatever color you are using for the background.

    If you just copied the whole theme into your child theme I don't know what will happen.

  5. nvolkert
    Member
    Posted 2 years ago #

    I already updated to 3.3 and I didn't lose background or header changes. I don't have the header image located in the child theme and I've never copied the entire theme- only started my own style.css in child. I am very new to css code. Can you tell me the exact code from twenty eleven I would put in my twenty eleven child? Even though I'd already updated without changes - I'd still like to add code to child to be safe.

    http://www.milkallergyguide.com

Topic Closed

This topic has been closed to new replies.

About this Topic