WallBB Forums
Focus Theme - How to add google adsense ads in MyBB - Printable Version

+- WallBB Forums (https://wallbb.co.uk/forums)
+-- Forum: Theme Section (https://wallbb.co.uk/forums/forumdisplay.php?fid=5)
+--- Forum: Theme Documentation (https://wallbb.co.uk/forums/forumdisplay.php?fid=9)
+--- Thread: Focus Theme - How to add google adsense ads in MyBB (/showthread.php?tid=18)

How to add google adsense ads in MyBB - WallBB - 11-08-2017

This tutorial will tell you how to add google adsense in MyBB, this tutorial can help you add adsense ads in any MyBB theme.
I am using Focus Responsive MyBB theme, you can use any theme you want.
I am using footer area as an example. Suppose the adsense code is below :-
<div align="center">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Homepage Leaderboard -->
<ins class="adsbygoogle"
(adsbygoogle = window.adsbygoogle || []).push({});
To do this, go to the footer template in the admin Panel
  1. Go to Admin CP > Templates and Styles  > Template Sets » FocusResponsive Templates » footer
  2. Edit the template, and find <debugstuff>
  3. Below this add, the above adsense code(Use your adsense code)
  4. Save the template and adsense will be installed on your website.
If you don't know how to find adsense code, please read this tutorial