Skip to content

Instantly share code, notes, and snippets.

@gweatherson
Last active September 18, 2020 17:17
Show Gist options
  • Save gweatherson/149cfd13dc984bd240d284689ba2e253 to your computer and use it in GitHub Desktop.
Save gweatherson/149cfd13dc984bd240d284689ba2e253 to your computer and use it in GitHub Desktop.
// Add our own Jquery
if (wp_script_is('jquery', 'enqueued')) {
return;
} else {
wp_register_script( 'jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js',true, '3.4.1' );
wp_enqueue_script('jquery');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment