Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

[SOLVED] extra '>' in adsense code


  #1  
Old Sep 4, 2009, 07:06 PM
pbennett
 
11 posts · Jul 2009
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!
  #2  
Old Sep 4, 2009, 09:05 PM
BradBrown's Avatar
BradBrown
 
54 posts · Mar 2009
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.
  #3  
Old Sep 5, 2009, 05:38 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Sep 7, 2009, 06:58 PM
pbennett
 
11 posts · Jul 2009
Fixed it! Thank you very much!

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Extra space, blueprairie Atahualpa 3 Wordpress theme 1 Jul 22, 2009 11:22 AM
[SOLVED] Extra spaces in comments fields rabbitpoets Comments, trackbacks & pings 2 Jun 29, 2009 09:10 PM
[SOLVED] extra space between posts on homepage reallylost Post-Kicker, -Byline & -Footer 8 Jun 2, 2009 03:11 PM
Getting error mesage after inserting AdSense code Jerry Atahualpa 3 Wordpress theme 3 May 5, 2009 05:19 PM
Adsense code in Text widget jonco Sidebars & Widgets 5 Feb 11, 2009 05:18 PM


All times are GMT -6. The time now is 12:42 PM.


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