• 888-750-4777
  • This email address is being protected from spambots. You need JavaScript enabled to view it.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: How to add code to Header.php in a child theme

How to add code to Header.php in a child theme 5 years 11 months ago #66182

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.

Please Log in to join the conversation.

How to add code to Header.php in a child theme 5 years 11 months ago #66183

Are you doing these changes on the legacy hosting, or on the new Wordpress hosting? The method for this would be different for both.

Please Log in to join the conversation.

  • Page:
  • 1
Time to create page: 0.164 seconds
© 2004-2024 Home Inspector Pro Inc. All Rights Reserved.