How to move smart-slider-3 js files to footer
-
Hi I would like to load all smart-slider-3 plugin files after my theme files, so I decided to move them to footer, but how can I do that and which files from smart-slider-3 I need to specify ?
At this time I have that:
// Custom Scripting to Move JavaScript from the Head to the Footer
function remove_head_scripts() {
remove_action(‘wp_head’, ‘******’);
remove_action(‘wp_head’, ‘******’, 9);
remove_action(‘wp_head’, ‘******’, 1);add_action(‘wp_footer’, ‘******’, 5);
add_action(‘wp_footer’, ‘******’, 5);
add_action(‘wp_footer’, ‘******’, 5);
}
add_action( ‘wp_enqueue_scripts’, ‘remove_head_scripts’ );// END Custom Scripting to Move JavaScript
- The topic ‘How to move smart-slider-3 js files to footer’ is closed to new replies.