Viewing 3 replies - 1 through 3 (of 3 total)
  • Why not just use a Text widget?

    Thread Starter angryanarchist

    (@angryanarchist)

    What do you mean by that? (excuse my “noobness” lol) I have the four boxes waiting to be filled by ads, how would I replace that area with something else? What IS a text widget I should ask first lol

    it would be easier to help if you could post the name of the theme and a link to your site.

    generally, what stops you to replace the following code from your sponsor.php:
    <a href="" rel="bookmark" title=""><img src="<?php echo ($ban1); ?>" alt="" style="vertical-align:bottom;" /></a>

    with your adsense code (use your own adsense with a matching size):

    <script type="text/javascript"><!--
    google_ad_client = "pub-zzzzzzzzzzz";
    google_ad_slot = "zzzzzzzzzzz";
    google_ad_width = xxx;
    google_ad_height = xx;
    //-->
    </script>
    <script type="text/javascript"
    src="https://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Theme Won’t Allow Adsense Javascript?’ is closed to new replies.