MrMaz/infinity — Issue #8: Feature Request: Allow scripts to be enq. in the footer
Author: BoweFrankema
Created: 2012-02-02 17:36:22+00:00
State: open

Since WP 2.8 the wp_enqueue_script has the option to let a script be loaded in the footer instead of the header (http://codex.wordpress.org/Function_Reference/wp_enqueue_script). I'd like to see an option to achieve this from within infinity.ini.

Like this

[script]
slider = assets/js/slider.js

[script_enqueue]
in_footer = "slider"

This could improve page loading and prevent certain scripts from blocking the pageload.