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 made a child theme for roots and it worked as expected. I can override everything, including footer.php, but not header.php. My header.php looks exactly like the one from roots at the moment, except for the blog title, which I replaced. I googled it, but it seems that I'm the only one facing this problem.

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

Just to clarify, are you referring to this theme? If so, it doesn't appear to use the architecture of a typical theme - you'll need to copy roots/templates/head.php to child/templates/head.php and modify accordingly.

share|improve this answer
    
Yes that is the theme Im talking about. But why head.php? I need to change header.php, because I want to modify the call for wp_nav_menu and I dont know how to do it via hook. And yes, I used the templates folder. In forum posts I saw that other people did the same thing with root's header.php and succeeded. –  Lord_Mord Nov 14 '12 at 13:15
    
So you copied roots/templates/header.php to child/templates/header.php & modified? –  TheDeadMedic Nov 14 '12 at 13:56
    
Have you also tried the same with header-top-navbar.php? –  TheDeadMedic Nov 14 '12 at 13:59
    
Roots is now using theme wrappers as described in this post by @scribu –  Zach Nov 14 '12 at 14:14
    
Yes, thats exactly what I did. And no, I haven't tried yet. I later will. I just googled it. Why does it contain another wp_nav_menu? –  Lord_Mord Nov 14 '12 at 14:19
show 2 more comments

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.