Archived topic
How to add code to the header to all pages
3 replies · Started by bluebit on August 20, 2019
So how do I do this? To link a website using your own domain, you add the following meta tag to the <HEAD> section for all pages on your website.
I have the code, but where to put it in generatepress. I went to Elements, but do i add the code to page hero section? and what are all the other settings, do I need to do something else?
Hi there,
Use the hooks elements module (not header elements):
https://docs.generatepress.com/article/hooks-element-overview/
Then use the wp_head hook.
Let me know if this helps :)
thanks that worked
No problem :)