Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   [SOLVED] extra '>' in adsense code (http://forum.bytesforall.com/showthread.php?t=3279)

pbennett Sep 4, 2009 06:06 PM

[SOLVED] extra '>' in adsense code
 
Hi,

My adsense code in the header http://www.tubepans.com is rendering fine in firefox, but it's blank in i.e. We've been discussing it in the warrior forum and this is what one of the guys found:

Quote:

On the issue of your Adsense Ads not displaying in IE, I'm still seeing the double right arrow >> in your Adsense coding in your source code?

Just to confirm,

(1). In FF go to, VIEW and then PAGE SOURCE, scroll down until you find your Adsense Pub ID, when you locate that, drop down "eight" lines until you see this:
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>>
You should see the double arrows.

(2). In FF, look at the ads in the header and to the right side of the ads you should see a ">" that should not be there.
He's right about the extra > being in the source code, but when i go to the html insert for body tag, this is what is there:

Quote:

<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxxxxxxx";
/* 728x90, created 8/29/09 */
google_ad_slot = "2176893680";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
There must be an extra > in the code somewhere. Can I fix this in the editor?

Thanks!

BradBrown Sep 4, 2009 08:05 PM

You have your code pasted in the wrong ATA insert box. You have it in the insert for Body Tag box. You definitely don't want it there. You probably want it in Body Top one.

juggledad Sep 5, 2009 04:38 AM

Brad is correct, you have put it in ATO->HTML/CSS Inserts->HTML Inserts: Body Tag so it is part of the <BODY.....>
HTML Code:

<body class="home page page-id-2" <script type="text/javascript"><!--
google_ad_client = "pub-5392302379541195";
/* 728x90, created 8/29/09 */
google_ad_slot = "2176893680";
google_ad_width = 728;
google_ad_height = 90;
//-->

</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

</script>>

the last '>' is the closing of the BODY tag.

pbennett Sep 7, 2009 05:58 PM

Fixed it! Thank you very much!


All times are GMT -6. The time now is 03:36 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.