Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » New Versions, & Updating »

Jquery Issue in ATA 3.6.1+

Old Feb 3, 2011, 05:55 PM
BradBrown's Avatar
54 posts · Mar 2009
I ran across something in the newer versions of Atahualpa that caused me some problems. I rearranged the ATA code a bit to get around it, so I'm good, but I thought I'd mention it here anyway. Other people may encounter this, and I'm also open to ideas for fixes that wouldn't involve editing the ATA code.

My site, http://www.bradbrownmagic.com, uses some scripts that rely on Jquery: Cufon and an image rotator. The code is placed in the Header Inserts section. They stopped working when I upgraded to the newer ATA version. The problem is that beginning with version 3.6.1, things were rearranged in the header. Now Jquery isn't loaded until after the Header Inserts.

The best solution I could come up with was to edit the ATA code so the inserts load after wp_head(). I assume there are situations where this could be a bad thing, or it wouldn't have been changed in ATA in the first place. However, this worked for my issue. Here's what I changed. In header.php, I moved the following line of code from higher up to right before the </head>:
<?php if( $bfa_ata['html_inserts_header'] != '' ) include 'bfa://html_inserts_header'; ?>
If updating future versions of ATA so the inserts load after wp_head() is a possibility, then that would be great for me.

Old Feb 3, 2011, 07:09 PM
juggledad's Avatar
23,743 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I've pass this on to Flynn
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Feb 20, 2011, 04:48 AM
Flynn's Avatar
3,768 posts · Oct 2008
Munich, Germany
I've added this in 3.6.5, the next version after 3.6.4 which is in the WP viewer queue since 3 weeks now.
Old Feb 20, 2011, 01:58 PM
BradBrown's Avatar
54 posts · Mar 2009

BTW-If anyone else is running into this, I realized there is another work-around rather than editing the ATA code. If you use the WP Minify plugin, it will load all the external javascript, including jquery, in one combined file that loads at the very top of the head.
Old Mar 4, 2011, 11:19 PM
27 posts · Sep 2009
Yup ran into the same issue.

Thanks for taking the time to document this.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
jQuery 1.4.2 --> 1.3.1, Problem? Factorfiction Plugins & Atahualpa 1 Jan 30, 2011 02:47 PM
[SOLVED] Ata version 3.5.3 (bfa_ata4) compatability issue with php version php 5.2.12 bettykin Atahualpa 3 Wordpress theme 4 Dec 6, 2010 10:53 AM
[SOLVED] Can't edit posts - edits vanish - Virus? Theme Issue? WP Issue? jfrenaye Atahualpa 3 Wordpress theme 1 Aug 4, 2009 07:14 AM
New to WP...Got Ata 3.3..?'s on Ata vs Montezuma and TOP THINGS TO CUSTOMIZE - FIX? Brasshatgroup New Versions, & Updating 5 Jun 1, 2009 06:22 AM

All times are GMT -6. The time now is 03:33 PM.

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