WordPress.org

Ready to get started?Download WordPress

Forums

adds <![CDATA[ to html page (3 posts)

  1. learner215
    Member
    Posted 4 years ago #

    I'm not sure if this is a bug or not but when I try to ad google adsense code of the form to a page post

    <script type="text/javascript"><!--
    google_ad_client = "pub-3--------";
    /* 468x60, created 2/15/10 */
    google_ad_slot = "94--------";
    google_ad_width = 468;
    google_ad_height = 60;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>

    it then adds extra code that weird look

    <script type="text/javascript">// <![CDATA[
     google_ad_client = "pub-3--------"; /* 468x60, created 2/15/10 */ google_ad_slot = "9--------"; google_ad_width = 468; google_ad_height = 60;
    // ]]></script>
    <script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
    </script>
  2. Francis Crossen
    Member
    Posted 4 years ago #

  3. learner215
    Member
    Posted 4 years ago #

    Thanks, that was a handy link. I suspect that I need to insert google ad code elsewhere, like in a footer.html section or something. Though the google ad did show up eventually.

Topic Closed

This topic has been closed to new replies.

About this Topic