It is not easy to add code in the header and footer of a wordpress theme if you are not a programmer and theme developer but it is an easy way to do that without coding or changing a code
To solve this problem, and make it simple to the beginners, we use a custom plugin on called Insert Headers and Footers for WordPress. Not only is it extremely simple and easy to use without a bunch of confusing options, the biggest advantage is that instead of having to use a dozen different plugins to add various scripts and meta tags to your header or footer you can just add them all in one spot.
First, download from the plugin directory and install Insert Headers and Footers for WordPress. Now go to Settings » Insert Headers and Footers.
Here you see two text boxes where you can add your code. Simply copy and paste any meta information, scripts, Google Analytics, etc. and click “save settings”. This code will now be output to either your header or you footer.
this plugin will help you insert any code in the header of you wordpress theme, with this plugin you can use it to verify google analytic and google console
Author: Ubong Eshiet
Ubong Eshiet serial entrepreneur, a professional blogger and internet marketer, wordpress Developer and a passionate blogger and from Nigeria