WordPress.org

Support

Support » Themes and Templates » functions.php code to add to child theme

functions.php code to add to child theme

  • 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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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.

    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

    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.

    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘functions.php code to add to child theme’ is closed to new replies.
Skip to toolbar