Title: functions.php code to add to child theme
Last modified: August 20, 2016

---

# functions.php code to add to child theme

 *  [nvolkert](https://wordpress.org/support/users/nvolkert/)
 * (@nvolkert)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/functionsphp-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)

 *  [dragonsjaw](https://wordpress.org/support/users/dragonsjaw/)
 * (@dragonsjaw)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/functionsphp-code-to-add-to-child-theme/#post-2456769)
 * 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.
 *  Thread Starter [nvolkert](https://wordpress.org/support/users/nvolkert/)
 * (@nvolkert)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/functionsphp-code-to-add-to-child-theme/#post-2456784)
 * 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
 *  [dragonsjaw](https://wordpress.org/support/users/dragonsjaw/)
 * (@dragonsjaw)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/functionsphp-code-to-add-to-child-theme/#post-2456824)
 * 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.
 *  Thread Starter [nvolkert](https://wordpress.org/support/users/nvolkert/)
 * (@nvolkert)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/functionsphp-code-to-add-to-child-theme/#post-2456826)
 * 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](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.

## Tags

 * [child theme](https://wordpress.org/support/topic-tag/child-theme/)

 * 4 replies
 * 2 participants
 * Last reply from: [nvolkert](https://wordpress.org/support/users/nvolkert/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/functionsphp-code-to-add-to-child-theme/#post-2456826)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
