Solved: 5 Years, 7 Months ago Google AdSense
#1
Solved: 5 Years, 7 Months ago
For the life of me i cannot figure this s out, Angry
how do i add this code i got to the header in the new version of MyBB


<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- example.com -->
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-000000000000"
     data-ad-slot="0000000000"
     data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
Reply
#2
Solved: 5 Years, 7 Months ago
admin panel >> Templates & Style >> templates >> [your theme's templates] >> Header Templates --> header

add your code at the bottom & save the template
Reply
#3
Solved: 5 Years, 7 Months ago
Thanks for the reply, When you say the bottom do you mean after this <br>


<div id="container">
	
		<div id="content">
			<div class="wrapper">
				{$pm_notice}
				{$bannedwarning}
				{$bbclosedwarning}
				{$unreadreports}
				{$pending_joinrequests}
				{$awaitingusers}
				<navigation>
				<br />
Reply
#4
Solved: 5 Years, 7 Months ago
^ yes, after <br /> (obviously, add your code in a new line)
<br />
your code
Reply
#5
Solved: 5 Years, 7 Months ago
Thanks Alot Smile
Here's A Beer
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)