Add Adsense in header (4 posts)

  1. Jonathan
    Posted 3 years 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.

  2. Aaron
    Posted 3 years ago #

    Appearance -> Editor
    Edit header.php

    Paste your adsense code somewhere in there. Id try right about </header> for starters.

  3. WPyogi
    Forum Moderator
    Posted 3 years ago #

    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. Jonathan
    Posted 3 years 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.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.