background img
Jul 2, 2020
132 Views
0 0

How To Add Code To The Header And Footer Of A WordPress Site

Written by

Do you want to add code to the WordPress Header and Footer of your WordPress site?

There are many WordPress themes that do not provide you any features to add code to Header and Footer.

Today in this article I will tell you how to add code to the Header and Footer of WordPress Site.

So let’s start…

How to Add Code to WordPress website Header and Footer

First, install and activate the Insert Headers and Footers plugin in your site.

After activating the plugin, click Settings >> Insert Headers and Footers. Here you will see two boxes. You can add (Header or Footer) code as per your need.
If you want to add code to the Header, paste the code in the Script in Header box but if you want to add the code to the Footer, paste the code in the Script in Footer box.

After pasting the code, click on the Save button.

Apart from this, if you use the Genesis Framework on your site, then you can easily add code to Header and Footer.

Just click Appearance >> Customize. Then go to the Header / Footer Scripts section and add your code to the Header.
Hope this article helped you add code to the Header and Footer of your WordPress site.

If this article has proved helpful to you, then do not forget to share it.

Article Categories:
Plugins · WordPress Tricks and Tips

Leave a Reply

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


The maximum upload file size: 300 MB.
You can upload: image, audio, video, document, text, other.
Links to YouTube, Facebook, Twitter and other services inserted in the comment text will be automatically embedded.