wp jquery ui

Solutions on MaxInterview for wp jquery ui by the best coders in the world

showing results for - "wp jquery ui"
Kamryn
10 Apr 2018
1/*
2First of all, WordPress registers jQuery UI via wp_default_scripts().
3
4Dependencies are already set, so you only need to enqueue the script 
5you really need (and not the core). Since you're not changing version
6number or anything, it is ok to only use the handle.
7*/
8// no need to enqueue -core, because dependancies are set
9wp_enqueue_script( 'jquery-ui-sortable' );
10wp_enqueue_script( 'jquery-ui-widget' );
11wp_enqueue_script( 'jquery-ui-mouse' );
12wp_enqueue_script( 'jquery-ui-accordion' );
13wp_enqueue_script( 'jquery-ui-autocomplete' );
14wp_enqueue_script( 'jquery-ui-slider' );
queries leading to this page
wp jquery uiwp jquery ui