fabiorino / crelly-slider

A free responsive slider for WordPress that supports layers. Add texts, images, videos and beautify them with transitions and animations.
MIT License
105 stars 36 forks source link

[Performance] Enqueue Javascript to footer reduce page load speed #13

Closed Jonathlee closed 9 years ago

Jonathlee commented 9 years ago

Any chance to create an option allowing advanced user to load the javascript in footer?

common.php

wp_enqueue_script('jquery.crellyslider.min', CS_PLUGIN_URL . '/js/jquery.crellyslider.min.js', array(), CS_VERSION, true);

plus the shortcode generated Javascript to be placed in the bottom of footer

fabiorino commented 9 years ago

I'm sorry but for now I have no plans about that.