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 » New Versions, & Updating »

[SOLVED] Adsense won't show up on homepage of atahualpa theme blog.


  #1  
Old Aug 19, 2011, 09:02 AM
peachtreeparents
 
6 posts · Aug 2011
Hi there,

I'm running Atahualpa 3.6.7 on WordPress 3.2.1 at www.PeachtreeParents.com.

Adsense works on every page but the home page. Meaning if I go directly to www.PeachtreeParents.com I can't see the ads on the upper right or the lower right inner sidebars. Once I click on a different post, the ads show up fine.

I'm not using plugins, I copied and pasted the code into a text widget. I tried various adsense plugins, and it did not resolve the issue, so deleted the plugin files and went back to using the widgets. This has always worked for me on other blogs. In fact, it also worked for me on this particular blog before I changed themes to Atahualpa.

I've looked around for this solution and can't find anything. Any ideas?

Last edited by peachtreeparents; Aug 19, 2011 at 09:43 AM.
  #2  
Old Aug 19, 2011, 10:46 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
I'm not sure this is the solution but first have you applied all the 3.6.7 patches?
  • PATCH 367-01: Odd effects when 'CSS: Compress' = 'Yes'
  • PATCH 367-02 is incorporated in PATCH 367-04
  • PATCH 367-03: PHP errors when adding widget areas in index.php
  • PATCH 367-04: Hovering over a Post/Page title only shows "Permanent Link to"
  • PATCH 367-05: Site Title appended after the 'WordPress SEO by Yoast' title
__________________
~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.
  #3  
Old Aug 19, 2011, 11:09 AM
peachtreeparents
 
6 posts · Aug 2011
Great, thanks for the tips.

This was already set to NO.
PATCH 367-01: Odd effects when 'CSS: Compress' = 'Yes'

Thanks, just tried this.
PATCH 367-03: PHP errors when adding widget areas in index.php

Done.
PATCH 367-04 (incorporated with 367-02): Hovering over a Post/Page title only shows "Permanent Link to"

Done.
PATCH 367-05: Site Title appended after the 'WordPress SEO by Yoast' title

I also dumped the cache, did a database repair (just in case) through my hosting provider Bluehost so it would dump anything misc. and opened a new browser in Firefox instead of Safari just to make sure all is cleared out. Still no luck....
  #4  
Old Aug 19, 2011, 12:10 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Patch 1 should still be implemented as there are other issues it may have affected other than the one listed.

Also have you tried deactivating other plugins to see if there is a plugin conflict?
__________________
~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.
  #5  
Old Aug 19, 2011, 04:08 PM
peachtreeparents
 
6 posts · Aug 2011
Got it. I fully implemented the first patch as suggested.

I also deleted all of my plugins, dumped the cache, and nothing changed.
  #6  
Old Aug 19, 2011, 04:20 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
The code in your widget looks "interesting". Could you post so we can be certain of what you have there?
__________________
~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.
  #7  
Old Aug 19, 2011, 04:26 PM
peachtreeparents
 
6 posts · Aug 2011
Sure! Thanks so much for the help.

This is the code for the adsense in the widget. Or did you mean a different set of code somewhere in my css or stylesheet?

<script type="text/javascript"><!--
google_ad_client = "pub-6182748946114658";
/* 200x200, created 8/15/11 */
google_ad_slot = "3190240187";
google_ad_width = 200;
google_ad_height = 200;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


I just can't make sense of why I can see it everywhere -but- the landing page.
  #8  
Old Aug 20, 2011, 01:31 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
I just pasted that code in the text widget on my test site and shows just fine on the landing page. Have you added any code to the theme files directly? How about custom CSS?
__________________
~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.
  #9  
Old Aug 20, 2011, 07:45 PM
peachtreeparents
 
6 posts · Aug 2011
That was smart, I didn't think to try that. I can't think of what I might have done to the code, but I'll check through it and see. I'll also check the custom CSS setting.

And I think if I wrote down a few settings I used, I could also just reinstall the theme and get it back up and running pretty quickly.

Thanks! I'll see what happens.
  #10  
Old Aug 20, 2011, 07:50 PM
peachtreeparents
 
6 posts · Aug 2011
IT WORKED!

I feel silly I didn't think to look in the custom CSS option before. I looked and realized there was code in there for the widgets. This was what I had:

}
div.widget_recent_entries ul li {
margin-bottom: 10px;
}
div.widget_categories ul li {
margin-bottom: 6px;
}
div.widget_archive ul li {
margin-bottom: 7px;
}
div.widget_text ul li {
margin-bottom: 7px;
}
div.widget_recent_comments ul li {
margin-bottom: 9px;
}


I didn't think I would have touched any of the widgets except text. I feel like I probably tweaked it to adjust the margin to better fit the 200x200 ad, and then later must have realized I could adjust it directly in the Widget options. So I deleted the text widget code above, saved, and it worked.

Thanks so much!!

Bookmarks

Tags
adsense, atahualpa 3.6.7

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
not so resolved :Blog suddenly won't load with any version of atahualpa theme ! nat437 Forum How-To 5 Mar 22, 2011 12:33 PM
[SOLVED] Blog suddenly won't load with any version of atahualpa theme ! mppc Forum How-To 10 Jan 11, 2011 02:48 PM
[SOLVED] Show logo image? It won't show mine! sf_11 Header configuration & styling 4 Aug 20, 2010 05:21 PM
Theme won't show up at all. angievinez New Versions, & Updating 2 Jun 22, 2010 09:06 AM
Easy Adsense plugin to insert adsense works great with Atahualpa jenb Plugins & Atahualpa 0 Oct 20, 2009 05:27 PM


All times are GMT -6. The time now is 01:47 AM.


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