Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I followed the practice of creating a sub-theme (child theme) but I discovered that I lost some configuration I made:

  • main custom header lost, but it remained for pages where it was customized, I had to upload it again.
  • menu customization: primary navigation menu assignment was lost, but the menus did not so it was easy to reassign it.

Are any other side effects like the one above?

Are these bugs or expected behavior?

Details:

  • I added a new directory in themes, created style.css with requested header
  • Activated the new theme in WordPress (running in multi-site mode)
  • Observed the issues above
share|improve this question
1  
@Sorin Please list out the steps you took while you did this. There might be a step you've missed, or we might be able to better identify how to improve the "practice" you've been following. –  EAMann Sep 20 '10 at 14:15
    
Thanks, I added the steps, not so many. BTW, be sure you customize the header image before adding the theme. –  sorin Sep 20 '10 at 14:55
add comment

1 Answer

Not sure about "lost" header. Was it part of markup? CSS background? Custom background?

Losing menu assignments is normal behavior.

  • Child theme is not same theme as parent

  • It is completely separate theme, that uses parent as fall-back

Child theme is loaded and processed before parent theme (yeah, seems a little backwards). Don't expect it to act simply as parent theme with some changes. It seems like that, but not quite that internally.

share|improve this answer
    
I didn't customize anything on disk, I just used the admin interface to upload a new header. So regarding header, is a bug? –  sorin Sep 21 '10 at 12:35
    
Sorry, I hadn't used custom header functionality so far. No idea about specifics. Basically if it set for a theme, than changing theme reseting it is normal. If it is set for a blog - theme change should not affect it. –  Rarst Sep 21 '10 at 12:52
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.