[wp-hackers] wp_enqueue_script() and URLs with 2+ parameters

Matt Martz mdmartz at sivel.net
Sat Feb 28 14:23:16 GMT 2009


> In WP 2.8 you will be able to wp_enqueue_script() in the footer, therefore
> being able to call it from the page template itself.

Would anyone mind outlining how to enqueue a script by hooking the
footer?  I wasn't sure that this was possible.  I believe you still
have to hook wp_head or wp_print_scripts to enqueue a script for the
footer.

If it isn't actually possible perhaps we can patch that up?

-- 
Matt Martz
matt at sivel.net


More information about the wp-hackers mailing list