WP PLUGIN APOP
add jQuery-Sortable for Touch Device
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
/.idea/vcs.xml
|
||||||
|
/.idea/workspace.xml
|
||||||
@@ -42,6 +42,9 @@ function apop_register_my_styles() {
|
|||||||
wp_enqueue_script( 'jquery-ui-sortable' );
|
wp_enqueue_script( 'jquery-ui-sortable' );
|
||||||
wp_enqueue_script( 'jquery-ui-autocomplete' );
|
wp_enqueue_script( 'jquery-ui-autocomplete' );
|
||||||
wp_enqueue_script( 'post-sort-cat-order_js', APOP_PLUGIN_URL . 'js/apop-style.js' );
|
wp_enqueue_script( 'post-sort-cat-order_js', APOP_PLUGIN_URL . 'js/apop-style.js' );
|
||||||
|
if ( wp_is_mobile() ) {
|
||||||
|
wp_enqueue_script( 'jquery-touch-punch' );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$APOP->set_query();
|
$APOP->set_query();
|
||||||
|
|||||||
Reference in New Issue
Block a user