Glad it’s working for you, and that is something that is totally achievable! There is a filter to keep specific scripts in the footer. You’ll need the script’s handle or slug used when it’s enqueued. If you don’t know it, you’ll need to either search for the wp_enqueue_script
in the plugin files or contact the plugin developer.
There’s an example on the main plugin page as well as the documentation. Basically, it would look something like this placed in your functions.php file:
add_filter( 'stf_exclude_scripts', 'stf_custom_header_scripts', 10, 1 );
function stf_custom_header_scripts( $scripts ) {
$scripts[] = 'revolution-slider'; // replace 'revolution-slider' with the CORRECT script slug/handle
return $scripts;
}
This should place all dependencies for the slider in the header as well, so if it needs jQuery to run properly, jQuery will also be placed in the header – in the correct order. No need to check the “keep jQuery in the header” box in that scenario (though it should still work either way). Of course, that’s only if the revolution slider script is enqueued properly.
You might also want to see this support post if the above doesn’t quite work for you – if there are in-line scripts being placed in the wp_head
hook it might not print out as expected.
Hope that helps – let me know if you have any other questions or issues.
Thanks,
Joshua