If you are in the business of building, maintaining or expanding your WordPress site you’ve most likely been asked to add some sort of code into your site’s header or footer. Many popular tools, such as Google Analytics, Facebook Pixel, various search engine verification methods, need to have some code added to your site in order for them to function properly. There are two main ways to achieve this in WordPress, below we’ll take a look at both of them.
How to add header and footer scripts to your WordPress site
