[wp-hackers] Proper handling of jquery loading.
paul at codehooligans.com
Fri Oct 21 18:24:26 UTC 2011
I would say read the Codex that is what it is for
On Oct 21, 2011, at 2:22 PM, Claude Needham wrote:
> I am trying to use the direct embed of a mailchimp form on my website.
> The reason for not using either of the two mailchimp plugins that are
> available is I need to include hidden fields in the form.
> When I embed the code (using html tab or super simple shortcode) the
> form does not work as expected.
> Did a search found an article by Chris Coyier.
> In the article he made the recommendation to put a
> wp_enqueue_script("jquery") before wp_head
> <?php wp_enqueue_script("jquery"); ?>
> <?php wp_head(); ?>
> Thing is this was over 2 years ago. Seems like TwentyTen and other
> themes would be either following something like this. Or, more likely,
> the wp core has been modified to handle these issues.
> What is the best practice for loading jquery files?
> Claude Needham
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers