You’ve just been given a code to add to the header of a specific page in WordPress. Now what? Before you stress yourself out wondering how you’re going to be able to add the code, take a deep breath. It’s actually a lot easier than you think. I’ve got the step-by-step instructions on how to add code to your site header on a specific page.
Watch the video tutorial or keep reading to find out more.
How to add code to your site header on a specific page
1. Install and activate the Header and Footer Scripts plugin
2. Edit the page or post that you want to add the code to.
3. In the insert script to head box, copy and paste your code.
4. Save your page/post.
The code has now been successfully added!
To add code to the header or footer of your site on a sitewide basis, you can use the same plugin. Just to to Settings > Header and Footer Scripts and paste your code into the appropriate box. This will add the code to every page on your site.
For an alternate method to add code to the header or footer sitewide, visit How to Insert Code into the Head Section of Your WordPress Blog.