Created
September 10, 2012 17:15
-
-
Save whyisjake/3692234 to your computer and use it in GitHub Desktop.
Remove jQuery UI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Add this to your functions.php | |
function remove_jquery_ui() { | |
if (is_page('slug-of-page')) { | |
wp_deregister_script( 'jquery-ui-core' ); | |
} | |
} | |
add_action('wp_enqueue_scripts', 'remove_jquery_ui'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment