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
  • 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 :

See also :   How To Add Facebook Like Box to Blogger/blogspot Blog Using html5

Written by Jide Ogunsanya

Pro Nigerian Blogger, Digital Marketer and Web designer. I help business owners to grow their businesses online. You can join my Facebook Group here.

One Comment

Leave a Reply
  1. 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 🙂

Leave a Reply

We're glad you have chosen to leave a comment. Please keep in mind that comments are moderated according to our comment policy. Your email address is required but will not be published. No keyword stuffing in the name field and commenting from blah blah blah makes no sense. Thank You.

  • NetDivo ePin Manager Lets You Print Airtime Of All NetworksLearn More
adsense auto ads formats for blog monetization

Adsense Auto Ads : Benefits, How To Place Code On Blogger, WordPress and View Reports

nigerian music and book publishing platform

Publiseer Emerges As One Of The Finalists Of The 2018 Harvard Business School New Venture Competition