Viewing 3 replies - 1 through 3 (of 3 total)
  • Appearance -> Editor
    Edit header.php

    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…

    Thread Starter Jonathan

    (@findkollegiedk)

    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 https://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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add Adsense in header’ is closed to new replies.