WordPress Child Theme Not Working

I just created a child theme for our self-hosted WordPress blog. The site never used a child theme previously but I want to avoid it being overwritten as updates to the theme come out. The parent theme is twentyeleven.

So I followed the instructions on the WordPress Codex site to create a child theme:

1.  Created a folder in my wp-content/themes folder called twentyeleven-child.
2.  Added a style.css file to this folder.
3.  Added the following css code to the child style.css file:

/*
 Theme Name:     Twenty Eleven Child
 Theme URI:      http://mysite.org/twentyeleven-child/
 Description:    Twenty Eleven Child Theme
 Author:         My name
 Author URI:     http://mysite.org/
 Template:       twentyeleven
*/

/* =Imports styles from the parent theme
-------------------------------------------------------------- */
@import url('../twentyeleven/style.css');


/* =Theme customization starts here
-------------------------------------------------------------- */

4. Returned to WordPress and activated the child theme.

When I activate the child theme it shows the original twentyeleven design (colors, featured image, sidebar, etc.), and not the customized version we have been using as a parent theme for the past two years??

What am I missing? If my customized parent theme based on the twentyeleven theme works, then why doesn't it show the same design theme when set up as a child theme using the style.css file listed above?
kenjpeteAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jason C. LevineNo oneCommented:
Many of the customizations are stored in the wp-options table and are specific to the active theme. So by switching to a new theme, even a child theme, you lose those option settings and thus the customizations that go with them.

You will just need to reset them.
0
kenjpeteAuthor Commented:
Ok, can I copy/paste those customized fields in the wp-options table from the parent theme to the child theme? I have access to that database via phpMyAdmin.
0
Jason C. LevineNo oneCommented:
You can try...may not work as expected and I don't have a list of all the different key-value pairs that you would need to modify so it would be a lot of trial and error.

Child Themes are best applied at the beginning of the process...applying one mid-stream will involve recreating menus, widgets, headers, and potentially custom CSS.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
WordPress

From novice to tech pro — start learning today.