Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
/*
Plugin Name: addJQueryGoogle
Plugin URI: http://bit.ly/jquery-google-plugin-v1
Description: add JQUERY LIBRARY from google
Version: 1.0
Author: iMubin
Author URI: http://www.imammubin.com
*/
function addJQueryGoogle(){
?>
<script type="text/javascript">
var i=document.createElement('script');
i.type='text/javascript';
i.src='http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js';
document.head.appendChild(i);
</script>
<?php
}
add_action('wp_head','addJQueryGoogle');
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment