This commit is contained in:
Chung Pham
2021-03-15 17:32:08 +07:00
parent b190321758
commit 440e7fc604
11 changed files with 3034 additions and 10 deletions

View File

@@ -81,6 +81,16 @@ class OpalEstate_Submission {
'1.0',
true
);
wp_register_script(
'jquery-wpopal-slick',
trailingslashit( OPALESTATE_PLUGIN_URL ). 'assets/js/libs/slick.js',
[
'jquery',
],
'1.8.1',
true
);
}
/*

View File

@@ -38,7 +38,7 @@ class Opalestate_Agency_Collection_Elementor_Widget extends Opalestate_Elementor
*
*/
public function get_script_depends() {
return [ 'jquery-slick' ];
return [ 'jquery-wpopal-slick' ];
}
/**

View File

@@ -38,7 +38,7 @@ class Opalestate_Agent_Collection_Elementor_Widget extends Opalestate_Elementor_
*
*/
public function get_script_depends() {
return [ 'jquery-slick' ];
return [ 'jquery-wpopal-slick' ];
}
/**

View File

@@ -38,7 +38,7 @@ class Opalestate_Category_List_Elementor_Widget extends Opalestate_Elementor_Wid
*
*/
public function get_script_depends() {
return [ 'jquery-slick' ];
return [ 'jquery-wpopal-slick' ];
}
/**

View File

@@ -38,7 +38,7 @@ class Opalestate_City_List_Elementor_Widget extends Opalestate_Elementor_Widget_
*
*/
public function get_script_depends() {
return [ 'jquery-slick' ];
return [ 'jquery-wpopal-slick' ];
}
/**

View File

@@ -36,7 +36,7 @@ class Opalestate_Property_collection_Elementor_Widget extends Opalestate_Element
*
*/
public function get_script_depends() {
return [ 'jquery-slick' ];
return [ 'jquery-wpopal-slick' ];
}