Hi Support
Hopefully a simple request, I want to use an Elements hook to enqueue jquery on a couple of pages using a slider which still requires jquery.
By default the slider doesn’t work because GP isn’t including jquery as I’m not using the sticky nav which I believe is the only thing in GP that still requires jquery.
So what is the best way to add jquery manually for a couple of pages? I’ve found this code mentioned in previous threads but it doesn’t seem to work for me:
add_action( 'wp_enqueue_scripts', 'tu_load_jquery' );
function tu_load_jquery() {
wp_enqueue_script( 'jquery' );
}
Thanks