Support » Themes and Templates » Add Adsense in header
4 years, 4 months ago
How do I add Adsense banner in the header like http://twilightdanmark.dk/, for my site Gratis-TV2Play?
Hope there is someone who can help. And ask if you don’t understand.
Appearance -> Editor
Paste your adsense code somewhere in there. Id try right about </header> for starters.
But be very sure to not edit theme files directly — use a child theme — or you will lose all your changes when your theme or in case of a default theme, when WP is updated…
4 years, 3 months ago
Thank you for your response.
I have now inserted the code after </ header> (see Gratis-Youbio).
But as you can see, it is not quite the same place as the http://twilightdanmark.dk/.
I want it to look exactly like them. So the code also goes over in the sidebar (see this link – it is marked with a red box).
Is there anyone who can tell me exactly where I should put the code in my header.php, or if I just have to make some .css changes?
Hope there is someone who can help.