How to Add Code (Meta tag) to Your Header in Wordpress

15
14.5K followers
Updated

it's time for your daily dose of Wordpress Wisdom! In today's quick tutorial I'll show you the easiest way to add code or add a meta tag to your header using a simple and easy to use free plugin called WP Code. Sometimes we are asked to add a meta tag to our header section as a way of verifying ownership of our site, or as a way of tracking things for Google Analytics, as an example, and instead of trying to get into the theme editor and potentially messing up that all important theme code and breaking our site, this alternative is simple, easy and much safer.

As always, feel free to share this video with anyone needing help with this. If you have any Wordpress related questions that you'd like to see me create a tutorial around feel free to send me a private message or leave me a message on my profile.

If you want to check out all my Wordpress Wisdom tutorials you can go to the WA smart search up top or just head over to my blog.

Be productive!
Get to work!
I'll see you next time!

Login
Create Your Free Wealthy Affiliate Account Today!
icon
4-Steps to Success Class
icon
One Profit Ready Website
icon
Market Research & Analysis Tools
icon
Millionaire Mentorship
icon
Core “Business Start Up” Training

Recent Comments

23

Hi Eric,

Thank you for this quick tutorial. I had a quick question here?

Can we add multiple codes in Header section one below the other...for instance, first I copy past Pinterest verification code, then Google Analytics verification code and then something else?

Can I keep adding multiple codes in the header section ? And how do I differentiate one code with another - Do I need simply press enter and add the next code or add some space place the next code ?

Yup. Just hit enter after each one or leave a blank line so you can differentiate if you want to come back and remove one.

Perfect, thank you Eric for your quick reply.
You have a lovely day ahead :)

💯

That's certainly the easiet way I have seen to add code Eric!

Cheers buddy!

👍🍻

Confirming that this is great advice! I have used it in the past, and it works great! Thanks for the information!

👍🏼💯

I hope I understood well. Does that mean we can also add an AdSense code like that? I added it with the help of Site Kid. But it was all really unknown to me. If you have any more tutorials on this I would love to see them. Thank you

Yes, just paste your code and you’re all set just like the video shows 👍🏼

So it's easier than with Site Kid? Ohhhh Thanks!

Thanks for the post. I could have used it a couple of months ago but I found a tutorial on youtube. Glad you post this quick videos. They really do help people learn.

Glad they're helping!

See more comments

Login
Create Your Free Wealthy Affiliate Account Today!
icon
4-Steps to Success Class
icon
One Profit Ready Website
icon
Market Research & Analysis Tools
icon
Millionaire Mentorship
icon
Core “Business Start Up” Training