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 » Sidebars & Widgets »

[SOLVED] Left Sidebar Widget Will Not Accept Adsense Code


  #1  
Old Dec 14, 2011, 03:58 PM
windy
 
13 posts · Sep 2011

I use Atahualpa 3.7.1. I am approved by Google Adsense, which supplied the following code:

<script type="text/javascript"><!--
google_ad_client = "ca-pub-3103819256446759";
/* Left Sidebar */
google_ad_slot = "9827483533";
google_ad_width = 120;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

I installed the plugin Ad Injection Version 1.2.0.7, dragged and dropped it into the left sidebar but nothing appears on the website: www.windycityonthecheap.com. I did the same with the plugin WYSIWYG Widgets. Again, nothing.

Am I correct that I need to insert the code supplied by Google Adsense into a widget? Or, am I doing the wrong thing?
  #2  
Old Dec 14, 2011, 04:16 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
I don't know about that plugin but I just put that code in the text widget in the sidebar and it worked fine.

Just for the fun of it I installed the Ad Injection plugin and that worked fine as well.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Last edited by lmilesw; Dec 14, 2011 at 04:26 PM.
  #3  
Old Jan 7, 2012, 05:17 PM
atania
 
2 posts · Sep 2010
I am having the same problem! I have tried repeatedly to insert my adsense code into the sidebar text widget, the space shows but not the ads. I checked the code by inserting on a blank page and uploading, the ads appear.
  #4  
Old Jan 7, 2012, 05:49 PM
atania
 
2 posts · Sep 2010
I found the solution in a previous forum post - working now!

setting the CSS: Compress? to NO in ATO>Configure CSS & JS
  #5  
Old Jan 8, 2012, 03:27 PM
ymf
 
61 posts · May 2009
Glad it worked for you. I also use Ad Injection 1.2.0.7 with Atahualpa 3.7.3, but it worked (inserts adsense code into the sidebar text widget) with Atahualpa's default option CSS: Compress? = YES in ATO>Configure CSS & JS. See the results at goo.gl/CKiLg.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Widget showing on left sidebar and not in the right sidebar rlaunay Sidebars & Widgets 2 Nov 25, 2011 05:56 AM
No Javascript in Text Widget (adsense code) kitetheworld Sidebars & Widgets 3 Jul 3, 2011 09:25 AM
Stuck with php code / left sidebar mikeindidginus Atahualpa 3 Wordpress theme 11 Jun 16, 2011 01:15 AM
[SOLVED] Widget Areas Needed to run adsense code in header? webgurl Sidebars & Widgets 3 Dec 4, 2010 02:56 PM
Adsense code in Text widget jonco Sidebars & Widgets 5 Feb 11, 2009 04:18 PM


All times are GMT -6. The time now is 02:54 PM.


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