-
-
Save ControlledChaos/8640bf7761261ed07d7264c72019d1a8 to your computer and use it in GitHub Desktop.
This file contains 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
function add_jquery_ui() { | |
wp_enqueue_script( 'jquery-ui-core' ); | |
wp_enqueue_script( 'jquery-ui-widget' ); | |
wp_enqueue_script( 'jquery-ui-mouse' ); | |
wp_enqueue_script( 'jquery-ui-accordion' ); | |
wp_enqueue_script( 'jquery-ui-autocomplete' ); | |
wp_enqueue_script( 'jquery-ui-slider' ); | |
wp_enqueue_script( 'jquery-ui-tabs' ); | |
wp_enqueue_script( 'jquery-ui-sortable' ); | |
wp_enqueue_script( 'jquery-ui-draggable' ); | |
wp_enqueue_script( 'jquery-ui-droppable' ); | |
wp_enqueue_script( 'jquery-ui-datepicker' ); | |
wp_enqueue_script( 'jquery-ui-resize' ); | |
wp_enqueue_script( 'jquery-ui-dialog' ); | |
wp_enqueue_script( 'jquery-ui-button' ); | |
} | |
add_action( 'wp_enqueue_scripts', 'add_jquery_ui' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment