Can't find the tags to paste the adsense

Posted in: Newspaper
Post count: 4

Hello,

I’m supposed to paste a code similar to the one below, after the body tags. I have both tried to locate them in the header and footer file but everytime I tried it messed up the page…
Where should I paste this code ?
Thanks a lot for your help,
Thomas

<html>
<head>
Cette section représente l’en-tête de votre page.
<title>Exemple de page HTML</title>
</head>
<body>
Cette section représente le corps de votre page.
<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<!– Homepage Leaderboard –>
<ins class=”adsbygoogle”
style=”display:inline-block;width:728px;height:90px”
data-ad-client=”ca-pub-1234567890123456″
data-ad-slot=”1234567890″></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</body>
</html>

Post count: 9544

Normally you would put your adsense code in the theme panel for top of page ad section – see theme docs.

To manually put a block of code on page, you can put that in the header.php file after opening body tag. Only put the script part… not the whole block of text you have in your example — that is entire standalone webpage.

Post count: 4

Ok thank you, I was just confused with the google adsense review process…

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.