Hello,
I’m attempting to add a new widget area above the main navigation in twenty fourteen.
In my child theme functions.php I’m using register_sidebar which is working fine. I also want to place the widget using the child functions.php add_filter functionality. My question is…is there a hook or something like “before_navbar” which I can use? I really do not want to bring the entire header.php file into my child theme.
Thanks.
I wound up hardcoding this into my child header.php file because I could not figure out how to place my code using a hook like “before_navbar” in my child functions.php
I suspect this might not be an option with Twenty Fourteen, can anyone confirm this?
Viewing 1 replies (of 1 total)
The topic ‘Place Widget Before Header using only functions?’ is closed to new replies.