How To Add Header Codes To Blogger and WordPress Blogs

·

Atimes, you might need to place codes in the head section of your blog i.e between the <head> and </head> tags. Such codes include Google Adsense auto ads codes, Facebook pixel code, Google Webmaster & Bing verification codes etc

So, in this post, I want to quickly share with you how to place such header codes in your Blogger or WordPress blogs.

How To Add Header Code To Blogger Blogs

  • Sign in to your Blogger dashboard at blogger.com
  • Go to “Theme” > “Edit HTML
  • Click inside the HTML and use CTRL F to find </head>
  • Paste the header code above the </head>
  • Save your template.

add header code to blogspot blogs

 

How To Add Header Code To WordPress Blogs

There are different ways you can add header code to WordPress but here is a simple method you can try :

  • Sign in to your WordPress Dashboard
  • Navigate to “Plugins” and click “Add New
  • Search for Header and Footer Scripts plugin
  • Install and activate the plugin
  • Go to Settings > Header and Footer Scripts
  • Paste the code into the “Scripts in Header” box
  • Save settings.

add header codes to wordpress websites

Alternatively, you can use Insert Headers and Footers plugin.

Please Share :

Like What You Read?

Sign Up to get similar articles delivered to your email inbox.

Leave a Reply

Your email address will not be published. Required fields are marked *

4 responses to “How To Add Header Codes To Blogger and WordPress Blogs”

  1. Emma Ballet Avatar
    Emma Ballet

    Hi Admin,

    Thanks for sharing this post which really helped me to know the right codes to add.

    I was just looking to know the right code and finally, this post helped me 🙂

  2. fredrick Avatar
    fredrick

    wow, good tips off sir jide keep up
    you really help me

  3. Langley Bank Avatar
    Langley Bank

    Thanks for this brother

  4. DarkNg Avatar
    DarkNg

    Nice article. I would also add that the wp header and footer hooks must be available in the header and footer templates respectively for it to work.

Search

Copyright © 2025 | About | Advertise | Privacy Policy | Proudly powered by WordPress