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 »

[SOLVED] How to Add Javascript to Post Footer (or Kicker)?


  #1  
Old Aug 10, 2011, 07:52 AM
LaneLester
 
76 posts · May 2010
North Georgia, NA
Help [SOLVED] How to Add Javascript to Post Footer (or Kicker)?

I'd like to put some Javascript ad code in the post footer space. I pasted it in the Multi-Post and Single Post Footer fields on the Post Info Items page.

It doesn't show up.

I'm using Ata 3.6.7, and I've applied the four patches.

Lane
  #2  
Old Aug 10, 2011, 11:12 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
I THINK you can add a new widget area to those boxes and then use a widget for the code.
__________________
~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 10, 2011, 11:59 AM
LaneLester
 
76 posts · May 2010
North Georgia, NA
Thanks, Larry. I don't know if it's possible to add widgets any more. The "Add Widgets" section says you can, and then when I go to the Style Center Column to add the code, there's no place to put it. Instead, there's this message:

Quote:
Where are the 'Content ABOVE Loop', 'The LOOP' etc. options?They are now 'hardcoded' into Atahualpa's <code>index.php</code>. To edit the loop or to add custom code before/after the loop, manually edit <code>index.php</code>.

Since 3.6.5 custom PHP code isn't possible anymore in the Atahualpa Theme Options.
I guess I'll have to cram it into the single.php and so forth.

Later: I found the Quick AdSense plugin will do the job. I'd rather not mark this thread SOLVED in case someone knows an Atahualpa solution.

Lane

Last edited by LaneLester; Aug 10, 2011 at 12:30 PM.
  #4  
Old Aug 10, 2011, 03:51 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
You can put the widget code in the same place you were trying to put the ad code... I think.
__________________
~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 10, 2011, 04:10 PM
LaneLester
 
76 posts · May 2010
North Georgia, NA
Quote:
Originally Posted by lmilesw
You can put the widget code in the same place you were trying to put the ad code... I think.
Well, I did try that. I put:
Code:
<?php bfa_widget_area('name=Post Footer'); ?>
in the "FOOTER: Single Post Pages" field.

In the "Add Widgets" section is this:
Quote:
Note: After you've added new widget areas, you'll need to reload a front end page 1-2 times before they get created and start appearing on the front end. And you'll need to reload WP->Presentation->Widgets 1-2 times before you can see the new widget areas there and start adding widgets.
I'm not sure what a "front end page" is, but I reloaded the home page a couple of times. I also reloaded the Appearance / Widgets page a few times, but only the sidebar widgets are there.

Lane
  #6  
Old Aug 10, 2011, 04:18 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
did you go to dashboard->appearances->Widgets and see if there was a new widget area and add a widget to it?
__________________
"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
Put AddThis in Kicker or Footer nick51 Post-Kicker, -Byline & -Footer 8 May 12, 2010 08:12 AM
PHP goodies for kicker/footer? paulae Post-Kicker, -Byline & -Footer 5 Oct 14, 2009 08:13 AM
Add SHARE THIS icon below the post footer? eggd Post-Kicker, -Byline & -Footer 2 Aug 21, 2009 12:28 PM
Add photo in kicker which links to appropriate author Cece45 Post-Kicker, -Byline & -Footer 1 Apr 10, 2009 10:52 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 01:12 PM


All times are GMT -6. The time now is 09:00 PM.


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