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 » Center area post/pages » Post-Kicker, -Byline & -Footer »

Javascript added to Post/Page Info Items Footer for Multi Pages not inserted


  #1  
Old Oct 10, 2011, 08:45 PM
uppercut
 
9 posts · Jan 2011
Redmond, WA
Send a message via Skype™ to uppercut
I have added my google adsense code to ATO-> post page info items -> Footer single post pages, footer multi post pages, footer page pages.

It works on all but multi post pages. It's like it's not even getting inserted (when I view source).

check on http://uppercutwoodworks.com/
  #2  
Old Oct 10, 2011, 09:09 PM
uppercut
 
9 posts · Jan 2011
Redmond, WA
Send a message via Skype™ to uppercut
Looks like this is because I have a home page and a blog page, and bfa_post_parts has a bug.
  #3  
Old Oct 11, 2011, 06:16 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What version of Atahualpa and WP?

when you say you have a home page do you mean you have a home.php file or at dashboard->settings->reading-Front page displays, you set it to a static page?

Aslo it looks fine to me and I notice that you have W3Cache on. With a caching plugin active, changes to the theme may take some time to show up unless you flush the cache. I always recommend turning off caching plugins while developing or making changes so you see the changes right away...
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Oct 11, 2011, 12:12 PM
uppercut
 
9 posts · Jan 2011
Redmond, WA
Send a message via Skype™ to uppercut
Latest versions of Atahualpa and WP. My WP dashboard says both are up to date.

dashboard->settings->reading-Front page displays is set to a static page (there is uppercutwoodworks.com, and uppercutwoodworks.com/blog) one is the static home, the other is the blog home, which shows three posts by default.

It looks fine now because I followed the instructions in another post that describe the bug. Due to the static home page, the logic in bfa_post_parts only works if you *don't* have a static home page. I put my code in the home page footer (which is now being applied to the multipost blog page) and it works now.

Thanks
  #5  
Old Oct 11, 2011, 12:17 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Where did you find the info about the bug in bfa_post_parts?
__________________
~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.
  #6  
Old Oct 11, 2011, 12:24 PM
uppercut
 
9 posts · Jan 2011
Redmond, WA
Send a message via Skype™ to uppercut
The first thing I did was look at the code. The logic detects is_home(), and home in this case means "blog home" - bfa_post_parts doesn't have any logic to handle websites with a static home and the blog hosted on a separate page. So it sees the blog page as home, but sees that the footer_home is empty, and does nothing.
  #7  
Old Oct 11, 2011, 12:43 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Did you try flushing the cache or disabling the w3 cache plugin before doing anything else?
When I looked at your site before the post copters on multi post pages were working
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Multipost pages not affected by changes in Edit Post/Page Info Items pvelte Post-Kicker, -Byline & -Footer 2 Apr 30, 2011 06:35 PM
Post Page Info Items Question joestyer Post-Kicker, -Byline & -Footer 1 Aug 8, 2010 05:50 AM
Inserting between Body and Footer on Multi-Post pages JakeThePeg Post-Kicker, -Byline & -Footer 1 Aug 27, 2009 05:52 AM
[SOLVED] how to exclude post/page info items from certain pages? bcorrigan Excerpts, Read more, Pagination 2 Aug 17, 2009 06:25 PM
Post / Page Info Items - Button crashes comp, how do I add to post-footer? Image help everygirlssecret Post-Kicker, -Byline & -Footer 1 Jan 5, 2009 02:12 PM


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


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