Javascript added to Post/Page Info Items Footer for Multi Pages not inserted
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/ |
Looks like this is because I have a home page and a blog page, and bfa_post_parts has a bug.
|
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... |
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 |
Where did you find the info about the bug in bfa_post_parts?
|
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.
|
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 |
All times are GMT -6. The time now is 08:10 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.