Skip to main content
Question Protected by CommunityBot
edited tags
Link
fuxia
  • 107.3k
  • 39
  • 256
  • 463
Tweeted twitter.com/#!/StackWordPress/status/174506511412887552
Source Link
Rick Smith
  • 471
  • 1
  • 7
  • 19

How to add code to Header.php in a child theme?

I'm creating a child theme for the first time and I had a few questions regarding code added to header.

In a non child theme there is certain code I add to my header.php file such as google analytics, google webmaster tools, buy sell ads, Facebook open graph, etc....

How do you do this in a child theme? Do you create a header.php file in your child theme? If so how is this done? Is it the same as the @import as I used on the css?

Thanks.