• Resolved ztainment

    (@ztainment)


    I know this is a real simple question, forgive my programming ignorance, but I cant seem to figure out the proper place to put in ad code for Google AdSense. It’s simple JavaScript stuff.

    Can anyone please tell me where I need to input the following code:
    <script type=”text/javascript”><!–
    google_ad_client = “pub-******************”;
    google_ad_width = 120;
    google_ad_height = 600;
    google_ad_format = “120x600_as”;
    google_ad_type = “text_image”;
    google_ad_channel =””;
    //–></script>
    <script type=”text/javascript”
    src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”&gt;
    </script>

    Much thanks ~

Viewing 3 replies - 1 through 3 (of 3 total)
  • Wherever you want the ads to display. And don’t use the stupid useless wysiwyg/RTE when you input the code or it will be totally borked, and then you’ll be back here asking what happened with that.

    Thread Starter ztainment

    (@ztainment)

    Thanks, I was just adding things to the index.php file in the wrong folder…

    Oy…. yup. That will cause some serious heartburn. Keep in mind for the future that most anything you want to do with wp will need to be tweaked in the theme folder.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Problem adding ads to site…’ is closed to new replies.