How to Add Header and Footer Code in WordPress in Easiest Way

Here Is A Problem May Occur That if Your Insert a Line Of Code In WordPress But you Don’t Know How? That May Generate Basic Common Problem. When It’s Happened? Often you are Asked to Add Header and Footer Code in WordPress when Trying to Integrate with Web Services Google Search Console, Yandex, Bing And More.

In WordPress, By Default, They Don’t Provide Any Option About Insert Codes In Your WordPress Site Header But In Dibsfeed We Provide A Common Solution For Everyone. You Have To Follow Those Simple Steps.


Add Header Footer Code in WordPress

You Are Struggling For Edit Or Modify Your Header & Footer I Can Say That WordPress Has not Created To Access Those File Easily.

We Know Very well That You Have To add Code In Time Has Come Like If You Want To Add Your Site In Google Directory They Provide Code For Verification That You have to add in Header Or Footer.

You Don’t Need To Worry It. Here We Provide Solution. Their Many Type Of Technique You Can add Code In WordPress Header And Footer.

  • Manually By Edit Header.php
  • InBuild Theme Function
  • Form Plugin’s


Manually By Edit File From Orginal WordPress File Like Header.php & Footer.php. You Have To Edit Manually File. But There Is A DisAdvantage If You Edit Manually I may Happen That The Code Will Be Remove In Next Update. So Keep it In Mind.

InBuild Theme Option Like Many Theme Provide Allow To Change Or Modify There Code Easily in WordPress. Themes Are Genesis frameWork, Elegant Theme, And More. They Allow To Add Code On Your WordPress By Simple Panel Of That Theme.

If You’re Using a Theme With InBuild Feature Like Insert Code. You Can Feelfree Add Your Code Over there That Was Simple Solution Of It.

There Is Low Possibility To Get InBuild Function Or Features As You Called. But I Suggest Don’t Use Theme Inbuild Feature If You Change Your Theme Then It May Happen That Your Code Removed Or Have Some Issue Like Technical Errors. If Your Consider Not Remove That Theme Then You Can USe Feel Free.


I’m Going For Best Method That Might Save Your Time And Easy To Add Codes. That Why We Suggest Go For 3rd Party Plugin’s Go For Header Footer Plugin’s This Option More Safest From Other Two Option.

Plugin To Add Header & Footer in Simple Way

There Are More Than 10 Plugin’s But we Don’t Have To use All of this Go for Insert Headers and footers The Plugins Created By WPBeginner So, No Doubt About The Plugins. The Plugin Let us Allow To Add Code In Header adds Footer In WordPress.

insert headers and footers

Features Of Insert Header And Footer Plugin

  • Error Free
  • Fast And Organized
  • Free And Get Updated
  • Simplest Plugin (Easy To Setup)

Adding A Code To Header And Footer in WordPress

First Thing You Have To Install And Activate The Insert Header And Footer Plugin.

First You Have to Go WordPress DashBoard >> Plugins >> Add New >> Search On Search Bar ”Insert Header and Footer” >> Install >> Activate >> Done 

Visual Steps

  • Step 1 

You Have To Go Your WordPress Panel And Go The RTL And Find The Plugins Section. Now You Have to Click On Installed Plugins >> Add New Now Click On Add New.


  • Step 2

After The Steps Over Then, You Have To Click On ”add New” Download The Plugin From Insert Header And Footer  < Here.


Find Out The Plugins over Search Bar ” add headers and Footers ” and Search Will Be Appear Now You Have to Click On Install And Active It.

  •  Step 3

The Steps Are Over. Now You Need To Open The Panel Of Insert Headers And Footers. Just Go Setting >>

Now panel Opens you Have To Put Those Code You Need To add in Header Or Footer Paste It and Save it. Done

Those Ease Step You Have To Apply Just That’s All.

WordPress Resource


We Hope, You Understand How To Use Snipping Code & Install Header And Footer Plugins In WordPress. This Article Help You Gain About How Should You Uses Of How To Use Snipping Code & Install Header And Footer Plugins In WordPress and methods Of Uploading Plugins So, I Suggest Take Your Time Read All thous Article I Provide.

If We Missed Some Point? So Fell Free Let Us Know In Comment Section.

If You Like Our Article Subscribe Our Site. Also, Find Us On Facebook.


Leave a Comment