Support » Themes and Templates » will wordpress update delete my twentyeleven changes?

  • Resolved macaela007


    Hi I am very confused I’ve I am currenlty using twentyeleven theme to design my website, but i’ve been read that if I update wordpress that will erase my twentyeleven stylesheet and anything else within.

    Will update wordpress delete my new template, css on the style.php, and codes I’ve add into the function.php?

    If so can i’ve tried to change the twentyelevn theme name but the site doesnt work help?

    another thing I’ve tried is using child theme with just stylesheet init, will that still affect even thou i am using twentyeleven function.php??

Viewing 4 replies - 1 through 4 (of 4 total)
  • If you update the TwentyEleven theme, then yes, all of your changes will be removed. The update process removes the theme/plugin completely then moves the new files over to that folder.

    A child theme is definately the way to go. If you need to add anything to the functions.php file, then create a functions.php file in your child theme and it will be loaded before the parents functions.php file, but both are still loaded so you still have access to all of the parent themes functions.

    HI thanks getting back at me, can i ask, can I just copy the whole function of the twentyeleven theme on to the child theme because I dont want to mess with it too much I’ve added a few extra functions on the function.php if at momement I have same functions on function.php on both parent and child theme will that affect the way my site will work? if not can I do it?

    I would suggest moving only the new functions that you have created, and any functions that you have modified to the new functions.php file.

    The good thing about the core WP themes like TwentyEleven is that they are built the right way to allow you to over-ride the functions in your own child themes functions.php file without causing any problems. If you’re at all concerned, wrap all of your functions in this sort of thing:

    if ( ! function_exists( 'your_function' ) ){
      function your_function() {
         // Code goes in here.


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘will wordpress update delete my twentyeleven changes?’ is closed to new replies.