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] Atahualpa 3.4.4 & AdSense

Old Feb 11, 2010, 11:25 PM
7 posts · Feb 2010
Hi, first of all I'd like to congratulate all the people who works on Atahualpa Theme. It really is a great theme!!

Now, on to the problem:

I've been trying to put AdSense blocks using various plugins but I encountered similar problems with all of them. Now I've realized that plugins are mostly useless because I can just put the AdSense code on the sidebars widgets and in the "content below the loop" in the Atahualpa Theme Options.

The problem is that using a plugin or inserting the code directly, both ways I have the same issue. In my homepage, the ad block located in the left sidebar works ok (but it's only showing public service ads, don't know why), but the ad blocks located "below the loop" and in the right sidebar won't appear, leaving the blank space where they are supposed to be.

The fun part is that all this problems dissapear if I click on "older posts" (loading the homepage with older posts), or if I click on a post title, going to a the post page (although there are some of the post that don't show some ads, but are just a few, I can live with that).

I've noticed that when the ads don't show up, something adds some extra lines of code after the original AdSense code, featuring a script that starts with "google_protectAndRun".

Please, I would very much appreciate some help on this. Thanks!!


Here's the entire weird stuff (as you can see, the first part is the normal AdSense code):

<script type="text/javascript"><!--
google_ad_client = "pub-4843567567038327";
/* Cuadrado HR */
google_ad_slot = "6934681812";
google_ad_width = 200;
google_ad_height = 200;
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><script>google_protectAndRun("ads_core.goog le_render_ad", google_handleError, google_render_ad);</script><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: 200px; position: relative; visibility: visible; width: 200px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: 200px; position: relative; visibility: visible; width: 200px;"><iframe allowtransparency="true" hspace="0" id="google_ads_frame2" marginheight="0" marginwidth="0" name="google_ads_frame" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-4843567567038327&amp;output=html&amp;h=200&amp;slo tname=6934681812&amp;w=200&amp;lmt=1265954702&amp; flash=10.0.42&amp;url=http%3A%2F%2Fhombresrudos.co m%2F&amp;dt=1265954691386&amp;prev_slotnames=61834 58942&amp;correlator=1265954691200&amp;frm=0&amp;g a_vid=185131830.1265691999&amp;ga_sid=1265954691&a mp;ga_hid=346601514&amp;ga_fc=1&amp;u_tz=-180&amp;u_his=50&amp;u_java=1&amp;u_h=800&amp;u_w= 1280&amp;u_ah=770&amp;u_aw=1280&amp;u_cd=32&amp;u_ nplug=28&amp;u_nmime=159&amp;biw=1263&amp;bih=617& amp;ref=http%3A%2F%2Fhombresrudos.com%2F&amp;fu=0& amp;ifi=2&amp;dtd=7&amp;xpc=CXfrZuvwKx&amp;p=http% 3A//hombresrudos.com" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" width="200" frameborder="0" height="200" scrolling="no"></iframe></ins></ins></p></div>


adsense, atahualpa 3.4.4

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Easy Adsense plugin to insert adsense works great with Atahualpa jenb Plugins & Atahualpa 0 Oct 20, 2009 05:27 PM
[SOLVED] How to change font size &lt;h1&gt; &lt;h2&gt; &lt;h3&gt; &lt;h4&gt; &lt;h5&gt; &lt;h6&gt; jesusguevarautomotriz Post-Kicker, -Byline & -Footer 2 Oct 8, 2009 08:17 PM
[SOLVED] LavaLamp jQuery &amp; Atahualpa 342 gidibao Header configuration & styling 2 Sep 6, 2009 03:59 PM
Google adsense in Atahualpa martingale Atahualpa 3 Wordpress theme 3 Sep 6, 2009 11:58 AM
Adding Adsense Units in Atahualpa 3.4.1 djrishi Atahualpa 3 Wordpress theme 1 Aug 7, 2009 01:57 PM

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

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